Skip to content

Commit

Permalink
Merge pull request #51 from moredhel/go-fmt
Browse files Browse the repository at this point in the history
Fix up with go-fmt
  • Loading branch information
zambien authored Jan 11, 2020
2 parents 32341e1 + 596c36b commit 8a48085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apigee/resource_api_proxy_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func resourceApiProxyDeploymentRead(d *schema.ResourceData, meta interface{}) (e
//We don't break. Always get the last one if there are multiple deployments.
for _, revision := range environment.Revision {
log.Printf("[DEBUG] resourceApiProxyDeploymentRead checking deployed revision: %#v for expected revision: %#v\n", revision.Number.String(), d.Get("revision").(string))
if (d.Get("revision").(string) != "latest" && d.Get("revision").(string) == revision.Number.String()) {
if d.Get("revision").(string) != "latest" && d.Get("revision").(string) == revision.Number.String() {
matchedRevision = revision.Number.String()
found = true
break
Expand Down

0 comments on commit 8a48085

Please sign in to comment.