mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Address staticcheck failures for test/e2e/lifecycle/bootstrap
Make small, non-functional changes to make the `test/e2e/lifecycle/bootstrap` pass staticcheck.
This commit is contained in:
parent
833e8dc10b
commit
b92a51285b
@ -82,7 +82,6 @@ test/e2e/common
|
|||||||
test/e2e/instrumentation/logging/stackdriver
|
test/e2e/instrumentation/logging/stackdriver
|
||||||
test/e2e/instrumentation/monitoring
|
test/e2e/instrumentation/monitoring
|
||||||
test/e2e/lifecycle
|
test/e2e/lifecycle
|
||||||
test/e2e/lifecycle/bootstrap
|
|
||||||
test/e2e/manifest
|
test/e2e/manifest
|
||||||
test/e2e/network
|
test/e2e/network
|
||||||
test/e2e/storage
|
test/e2e/storage
|
||||||
|
@ -68,7 +68,8 @@ var _ = lifecycle.SIGDescribe("[Feature:BootstrapTokens]", func() {
|
|||||||
tokenId, err := GenerateTokenId()
|
tokenId, err := GenerateTokenId()
|
||||||
framework.ExpectNoError(err)
|
framework.ExpectNoError(err)
|
||||||
secret := newTokenSecret(tokenId, "tokenSecret")
|
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
|
secretNeedClean = bootstrapapi.BootstrapTokenSecretPrefix + tokenId
|
||||||
|
|
||||||
ginkgo.By("wait for the bootstrap token secret be signed")
|
ginkgo.By("wait for the bootstrap token secret be signed")
|
||||||
|
Loading…
Reference in New Issue
Block a user