Fix golint issues in test/e2e/lifecycle/

This commit is contained in:
tanjunchen
2019-12-03 17:14:38 +08:00
parent cf16e4988f
commit d2d68026fc
5 changed files with 39 additions and 27 deletions

View File

@@ -47,7 +47,7 @@ func (b bootstrapSecrets) Get(name string) (*corev1.Secret, error) {
// TestBootstrapTokenAuth tests the bootstrap token auth provider
func TestBootstrapTokenAuth(t *testing.T) {
tokenID, err := bootstraputil.GenerateTokenId()
tokenID, err := bootstraputil.GenerateTokenID()
if err != nil {
t.Fatalf("unexpected error: %v", err)
}