Rename disableHash to disableNameSuffixHash

This commit is contained in:
Jeffrey Regan
2018-10-30 11:36:00 -07:00
parent 40e0bbeec2
commit a8fbe35ecf
4 changed files with 7 additions and 7 deletions

View File

@@ -261,9 +261,9 @@ func TestSecretTimeout(t *testing.T) {
}
}
func TestDisableHash(t *testing.T) {
func TestDisableNameSuffixHash(t *testing.T) {
kt := makeKustTarget(t, makeLoader1(t))
kt.kustomization.GeneratorOptions = &types.GeneratorOptions{DisableHash: true}
kt.kustomization.GeneratorOptions = &types.GeneratorOptions{DisableNameSuffixHash: true}
actual, err := kt.MakeCustomizedResMap()
if err != nil {
t.Fatalf("unexpected Resources error %v", err)