Skip to content

Commit 4e08fc3

Browse files
committed
better message
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
1 parent 7d671b2 commit 4e08fc3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

resource_customizations/promoter.argoproj.io/ChangeTransferPolicy/health.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if obj.metadata.deletionTimestamp then
2828
{
2929
["changetransferpolicy.promoter.argoproj.io/finalizer"] = {
3030
wait = "Waiting to clear related PullRequest finalizers and finish cleanup before this policy is removed.",
31-
risk = "the policy can disappear while related PullRequests are still terminating or inconsistent with Git.",
31+
risk = "The 'changetransferpolicy.promoter.argoproj.io/pullrequest-finalizer' finalizer may not be cleaned up from PullRequests owned by this ChangeTransferPolicy.",
3232
},
3333
}
3434
)

resource_customizations/promoter.argoproj.io/ChangeTransferPolicy/health_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ tests:
55
inputPath: testdata/no-status.yaml
66
- healthStatus:
77
status: Progressing
8-
message: 'Change transfer policy is being deleted. changetransferpolicy.promoter.argoproj.io/finalizer: Waiting to clear related PullRequest finalizers and finish cleanup before this policy is removed. Risk if removed manually: the policy can disappear while related PullRequests are still terminating or inconsistent with Git.'
8+
message: "Change transfer policy is being deleted. changetransferpolicy.promoter.argoproj.io/finalizer: Waiting to clear related PullRequest finalizers and finish cleanup before this policy is removed. Risk if removed manually: The 'changetransferpolicy.promoter.argoproj.io/pullrequest-finalizer' finalizer may not be cleaned up from PullRequests owned by this ChangeTransferPolicy."
99
inputPath: testdata/deleting.yaml
1010
- healthStatus:
1111
status: Progressing

0 commit comments

Comments
 (0)