From 7f68bfa1fa9146b0fcc0cb6b30a50f6df40cc7ff Mon Sep 17 00:00:00 2001 From: Timofey Kirillov Date: Fri, 12 Nov 2021 18:45:00 +0300 Subject: [PATCH] fix: added resource info into the validation error Signed-off-by: Timofey Kirillov --- pkg/action/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/action/validate.go b/pkg/action/validate.go index 6e074f78b..73eb1937b 100644 --- a/pkg/action/validate.go +++ b/pkg/action/validate.go @@ -51,7 +51,7 @@ func existingResourceConflict(resources kube.ResourceList, releaseName, releaseN if apierrors.IsNotFound(err) { return nil } - return errors.Wrap(err, "could not get information about the resource") + return errors.Wrapf(err, "could not get information about the resource %s", resourceString(info)) } // Allow adoption of the resource if it is managed by Helm and is annotated with correct release name and namespace.