Closed jongwooo closed 4 weeks ago
Can you fix the pre-checks build?
The following files were found to be not go formatted:
pkg/kube-aws/ec2-terminate-by-tag/types/types.g
Hi @jongwooo
Can you please fix the failing check in this PR, it should be fixed by running gofmt.
Command - gofmt -w .
@Jonsy13 Sure thing:)
Proposed changes:
Related issue https://github.com/litmuschaos/litmus/issues/4807#issuecomment-2271358440
This PR fixes an issue where the ec2-stop-by-tag experiment fails to target the intended EC2 instance.
The ec2-stop-by-tag experiment encounters a
TARGET_SELECTION_ERROR
due to an incorrect retrieval of theEC2_INSTANCE_TAG
environment variable.By correctly renaming the environment variable from
INSTANCE_TAG
toEC2_INSTANCE_TAG
, we can accurately target the intended EC2 instance.Special notes for your reviewer:
cc. @namkyu1999
Checklist:
breaking-changes
tagrequires-upgrade
tag