Skip to content

Commit

Permalink
fix missing err check
Browse files Browse the repository at this point in the history
  • Loading branch information
megan07 committed May 26, 2020
1 parent 000ef9b commit 5f11783
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/terraform/encoders/data_catalog_tag.go.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
}

template, err := sendRequest(config, "GET", project, url, nil)
if err != nil {
return nil, fmt.Errorf("Error listing Tags: %s", err)
}
templateFields := template["fields"]

for fieldName := range fields {
Expand Down

0 comments on commit 5f11783

Please sign in to comment.