You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comparison expressions do not evaluate as expected in cases where one operand is a literal value and the other is a pointer to a value. This results in expressions such as AutoScalingGroups[].[length(Instances[?LifecycleState=='InService'] used in the AWS SDK for Go's Autoscaling waiter WaitUntilGroupInService not evaluating correctly since LifecycleState is a pointer to a string that is being evaluated against the literal string InService.
Steps to reproduce
Save this code as main_test.go and run go test -v:
Description
Comparison expressions do not evaluate as expected in cases where one operand is a literal value and the other is a pointer to a value. This results in expressions such as
AutoScalingGroups[].[length(Instances[?LifecycleState=='InService']
used in the AWS SDK for Go's Autoscaling waiterWaitUntilGroupInService
not evaluating correctly sinceLifecycleState
is a pointer to a string that is being evaluated against the literal stringInService
.Steps to reproduce
Save this code as
main_test.go
and rungo test -v
:Related items
Originating issue: aws/aws-sdk-go#2478
Related to #15 and #20.
The text was updated successfully, but these errors were encountered: