Skip to content

Commit

Permalink
update wording in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mengqi Yu committed Nov 19, 2021
1 parent 489e9ef commit fb99a28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kyaml/kio/kio.go
Expand Up @@ -283,7 +283,7 @@ func determineAnnotationsFormat(nodeAnnosMap map[string]map[string]string) (useI
internal = &f
}
if (foundOneOf && !*internal) || (!foundOneOf && *internal) {
err = fmt.Errorf("the formatting in the input resources is not consistent")
err = fmt.Errorf("the annotation formatting in the input resources is not consistent")
return
}

Expand All @@ -296,7 +296,7 @@ func determineAnnotationsFormat(nodeAnnosMap map[string]map[string]string) (useI
legacy = &f
}
if (foundOneOf && !*legacy) || (!foundOneOf && *legacy) {
err = fmt.Errorf("the formatting in the input resources is not consistent")
err = fmt.Errorf("the annotation formatting in the input resources is not consistent")
return
}
}
Expand Down

0 comments on commit fb99a28

Please sign in to comment.