-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comparison expressions don't evaluate operand type #40
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: