Skip to content

Commit 0a87de2

Browse files
committed
fix golangci-lint issues
1 parent 2fb49ca commit 0a87de2

File tree

1 file changed

+2
-2
lines changed
  • helpers/foundation-deployer/gcp

1 file changed

+2
-2
lines changed

helpers/foundation-deployer/gcp/gcp.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func triggerNewBuild(t testing.TB, buildName string) (string, error) {
9595
var data RetryOp
9696
err = json.Unmarshal(retryOperation.Metadata, &data)
9797
if err != nil {
98-
return "", fmt.Errorf("Error unmarshaling retry operation metadata: %v", err)
98+
return "", fmt.Errorf("error unmarshaling retry operation metadata: %v", err)
9999
}
100100

101101
return data.Build.ID, nil
@@ -221,7 +221,7 @@ func (g GCP) WaitBuildSuccess(t testing.TB, project, region, repo, commitSha, fa
221221
time.Sleep(timeBetweenErrorRetries) // Wait before retrying
222222
}
223223
}
224-
return fmt.Errorf("%s\nbuild failed after %d retries.\nSee Cloud Build logs for details.", failureMsg, maxErrorRetries)
224+
return fmt.Errorf("%s\nbuild failed after %d retries.\nSee Cloud Build logs for details", failureMsg, maxErrorRetries)
225225
}
226226

227227
// IsRetryableError checks the logs of a failed Cloud Build build

0 commit comments

Comments
 (0)