Merge pull request #411 from Liujingfang1/hash

decouple configmapandsecret and hash packages
This commit is contained in:
k8s-ci-robot
2018-10-05 09:39:18 -07:00
committed by GitHub
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
}