Document constants package.

This commit is contained in:
Jeffrey Regan
2018-05-31 13:42:03 -07:00
parent bcb89ee908
commit 8afba0b56c
4 changed files with 23 additions and 16 deletions

View File

@@ -61,7 +61,7 @@ func (mf *kustomizationFile) validate() error {
}
} else {
if !strings.HasSuffix(mf.path, constants.KustomizationFileName) {
errorMsg := fmt.Sprintf("Kustomization file path (%s) should have %s suffix\n", mf.path, constants.KustomizationSuffix)
errorMsg := fmt.Sprintf("Kustomization file path (%s) should have %s suffix\n", mf.path, constants.KustomizationFileSuffix)
merr := interror.KustomizationError{KustomizationPath: mf.path, ErrorMsg: errorMsg}
return merr
}