diff --git a/hack/.staticcheck_failures b/hack/.staticcheck_failures index 4e60c07d633..c4cf3952eea 100644 --- a/hack/.staticcheck_failures +++ b/hack/.staticcheck_failures @@ -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 diff --git a/test/e2e/lifecycle/bootstrap/bootstrap_signer.go b/test/e2e/lifecycle/bootstrap/bootstrap_signer.go index e6c9f4e4b29..d7991740203 100644 --- a/test/e2e/lifecycle/bootstrap/bootstrap_signer.go +++ b/test/e2e/lifecycle/bootstrap/bootstrap_signer.go @@ -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")