Skip to content

Commit

Permalink
Address staticcheck failures for test/e2e/lifecycle/bootstrap
Browse files Browse the repository at this point in the history
Make small, non-functional changes to make the
`test/e2e/lifecycle/bootstrap` pass staticcheck.
  • Loading branch information
mattjmcnaughton committed Oct 11, 2019
1 parent 833e8dc commit b92a512
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion hack/.staticcheck_failures
Expand Up @@ -82,7 +82,6 @@ test/e2e/common
test/e2e/instrumentation/logging/stackdriver
test/e2e/instrumentation/monitoring
test/e2e/lifecycle
test/e2e/lifecycle/bootstrap
test/e2e/manifest
test/e2e/network
test/e2e/storage
Expand Down
3 changes: 2 additions & 1 deletion test/e2e/lifecycle/bootstrap/bootstrap_signer.go
Expand Up @@ -68,7 +68,8 @@ var _ = lifecycle.SIGDescribe("[Feature:BootstrapTokens]", func() {
tokenId, err := GenerateTokenId()
framework.ExpectNoError(err)
secret := newTokenSecret(tokenId, "tokenSecret")
secret, err = c.CoreV1().Secrets(metav1.NamespaceSystem).Create(secret)
_, err = c.CoreV1().Secrets(metav1.NamespaceSystem).Create(secret)
framework.ExpectNoError(err)
secretNeedClean = bootstrapapi.BootstrapTokenSecretPrefix + tokenId

ginkgo.By("wait for the bootstrap token secret be signed")
Expand Down

0 comments on commit b92a512

Please sign in to comment.