Fix lint error

Signed-off-by: Ryan Richard <richardry@vmware.com>
This commit is contained in:
aram price 2020-12-18 15:28:56 -08:00 committed by Ryan Richard
parent 23be766c8b
commit cc5af1a810

View File

@ -322,7 +322,7 @@ func CreateTestSecret(t *testing.T, namespace string, baseName string, secretTyp
created, err := client.CoreV1().Secrets(namespace).Create(ctx, &corev1.Secret{
ObjectMeta: testObjectMeta(t, baseName),
Type: corev1.SecretType(secretType),
Type: secretType,
StringData: stringData,
}, metav1.CreateOptions{})
require.NoError(t, err)