fix: added resource info into the validation error

Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
This commit is contained in:
Timofey Kirillov 2021-11-12 18:45:00 +03:00
parent b6a04cfbd5
commit 7f68bfa1fa
No known key found for this signature in database
GPG key ID: E7F5239F76467155

View file

@ -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.