Fixed vet errors
This commit is contained in:
		
							parent
							
								
									6d0704ca33
								
							
						
					
					
						commit
						38834ceef4
					
				|  | @ -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}, | ||||
| 		}, | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue