From e77c330f99472ca109067c784a49c7f9ef039b86 Mon Sep 17 00:00:00 2001 From: Rashmi Gottipati Date: Tue, 23 Apr 2024 16:45:17 -0400 Subject: [PATCH] Address review suggestion Signed-off-by: Rashmi Gottipati --- pkg/kapp/crdupgradesafety/change_validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kapp/crdupgradesafety/change_validator.go b/pkg/kapp/crdupgradesafety/change_validator.go index a475c605a..a49a81031 100644 --- a/pkg/kapp/crdupgradesafety/change_validator.go +++ b/pkg/kapp/crdupgradesafety/change_validator.go @@ -88,7 +88,7 @@ func RequiredFieldChangeValidation(diff FieldDiff) (bool, error) { } if len(diff.Old.Required) == 0 && len(diff.New.Required) > 0 { - return handled(), fmt.Errorf("new values added as required when previously no required fields existed") + return handled(), fmt.Errorf("new values added as required when previously no required fields existed: %+v", diff.New.Required) } oldSet := sets.NewString()