mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-07 08:31:11 +02:00
Fixed vet errors
This commit is contained in:
@@ -43,18 +43,26 @@ func TestConfiguration(t *testing.T) {
|
||||
groovyScripts := v1alpha2.GroovyScripts{
|
||||
Customization: v1alpha2.Customization{
|
||||
Configurations: []v1alpha2.ConfigMapRef{
|
||||
{userConfigurationConfigMapName},
|
||||
{
|
||||
Name: userConfigurationConfigMapName,
|
||||
},
|
||||
},
|
||||
Secret: v1alpha2.SecretRef{
|
||||
Name: userConfigurationSecretName,
|
||||
},
|
||||
Secret: v1alpha2.SecretRef{userConfigurationSecretName},
|
||||
},
|
||||
}
|
||||
|
||||
casc := v1alpha2.ConfigurationAsCode{
|
||||
Customization: v1alpha2.Customization{
|
||||
Configurations: []v1alpha2.ConfigMapRef{
|
||||
{userConfigurationConfigMapName},
|
||||
{
|
||||
Name: userConfigurationConfigMapName,
|
||||
},
|
||||
},
|
||||
Secret: v1alpha2.SecretRef{
|
||||
Name: userConfigurationSecretName,
|
||||
},
|
||||
Secret: v1alpha2.SecretRef{userConfigurationSecretName},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user