decouple configmapandsecret and hash packages

This commit is contained in:
Jingfang Liu
2018-10-04 16:17:23 -07:00
parent 51ece9412e
commit a9cf1975ca
2 changed files with 6 additions and 12 deletions

View File

@@ -115,7 +115,7 @@ func addConfigMap(
return err
}
// Validate by trying to create corev1.configmap.
_, _, err = factory.MakeUnstructAndGenerateName(cmArgs)
_, err = factory.MakeConfigMap(cmArgs)
if err != nil {
return err
}