From fb99a285f475c5357fbd2005f22a290e1c8c95b7 Mon Sep 17 00:00:00 2001 From: Mengqi Yu Date: Fri, 19 Nov 2021 02:03:15 -0800 Subject: [PATCH] update wording in error message --- kyaml/kio/kio.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kyaml/kio/kio.go b/kyaml/kio/kio.go index 6e4d5651d7..ea6867827b 100644 --- a/kyaml/kio/kio.go +++ b/kyaml/kio/kio.go @@ -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 } @@ -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 } }