Clarify error message language (#8188)

This commit is contained in:
Ian Wahbe 2021-10-11 15:21:58 -07:00 committed by GitHub
parent 1bb85ca98c
commit 5b7a65939b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -341,7 +341,8 @@ func (s *DeleteStep) Apply(preview bool) (resource.Status, StepCompleteFunc, err
return resource.StatusOK, nil,
errors.Errorf("unable to delete resource %q\n"+
"as it is currently marked for protection. To unprotect the resource, "+
"either remove the `protect` flag from the resource in your Pulumi program or use the command:\n"+
"either remove the `protect` flag from the resource in your Pulumi"+
"program and run `pulumi up` or use the command:\n"+
"`pulumi state unprotect %s`", s.old.URN, s.old.URN)
}