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
So the same command with the same query is returning two different responses only for setting the --output flag to text. I am not sure if this is the intended behaviour but I don't really understand the reason.
Select this option if this issue appears to be a regression.
Expected Behavior
Return same amount of items and same information when --output test flag is set and when it is not.
Current Behavior
When no --output flag is set, or when is set to json, only one result is appearing. When --output is set to text, two results are appearing.
Reproduction Steps
We haven't encountered this issue ever and we have been using the exact same command for years. Only difference I see now is that the two images where pushed with only 17 minutes apart from each other.
Describe the bug
So the issue I have encountered is this:
aws ecr describe-images --repository-name my-repo --query "sort_by(imageDetails,& imagePushedAt)[-1]" --no-cli-pager
Output:
aws ecr describe-images --repository-name my-repo --query "sort_by(imageDetails,& imagePushedAt)[-1]" --output text --no-cli-pager
Output:
So the same command with the same query is returning two different responses only for setting the --output flag to text. I am not sure if this is the intended behaviour but I don't really understand the reason.
aws --version
Output:
aws-cli/2.22.14 Python/3.12.6 Darwin/23.6.0 exe/x86_64
Regression Issue
Expected Behavior
Return same amount of items and same information when --output test flag is set and when it is not.
Current Behavior
When no --output flag is set, or when is set to json, only one result is appearing. When --output is set to text, two results are appearing.
Reproduction Steps
We haven't encountered this issue ever and we have been using the exact same command for years. Only difference I see now is that the two images where pushed with only 17 minutes apart from each other.
Possible Solution
No response
Additional Information/Context
No response
CLI version used
aws-cli/2.22.14 Python/3.12.6 Darwin/23.6.0 exe/x86_64
Environment details (OS name and version, etc.)
MacOS Sonoma 14.6
The text was updated successfully, but these errors were encountered: