From 35e0ea30683c7d7b76d784b81a5edab50454f07f Mon Sep 17 00:00:00 2001 From: Anthony Byrne Date: Tue, 1 Oct 2024 12:15:38 -0400 Subject: [PATCH] Clarify cleanup fallback warning message (#271) --- pkg/verifier/aws/entry_point.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/verifier/aws/entry_point.go b/pkg/verifier/aws/entry_point.go index 9a72dfe9..a8ad6232 100644 --- a/pkg/verifier/aws/entry_point.go +++ b/pkg/verifier/aws/entry_point.go @@ -299,7 +299,7 @@ func (a *AwsVerifier) ValidateEgress(vei verifier.ValidateEgressInput) *output.O }) if err != nil { a.Logger.Info(vei.Ctx, "Unable to detach instance from security group. Falling back to slower cloud resource cleanup method.") - a.writeDebugLogs(vei.Ctx, fmt.Sprintf("Error encountered while trying to detach instance: %s.", err)) + a.writeDebugLogs(vei.Ctx, fmt.Sprintf("Fell back to slower cloud resource cleanup because faster method (network interface detatchment) blocked by AWS: %s.", err)) } }