Skip to content
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

Text output is inconsistent based on order #751

Closed
jamesls opened this issue Apr 10, 2014 · 2 comments · Fixed by #753
Closed

Text output is inconsistent based on order #751

jamesls opened this issue Apr 10, 2014 · 2 comments · Fixed by #753
Labels
bug This issue is a bug.

Comments

@jamesls
Copy link
Member

jamesls commented Apr 10, 2014

https://forums.aws.amazon.com/thread.jspa?messageID=534743&#534743

@aes512
Copy link

aes512 commented Apr 15, 2014

I can confirm that this is a problem

@aes512
Copy link

aes512 commented Apr 15, 2014

Side note, the original AWS forum link is: https://forums.aws.amazon.com/thread.jspa?messageID=534743&#534743

jamesls added a commit to jamesls/aws-cli that referenced this issue Apr 16, 2014
Fixes aws#751, originally reported from:
https://forums.aws.amazon.com/thread.jspa?messageID=534743&#534743

The basic issue was that we were looking at the first element in the
list to determine whether or not we should handle something as a list
or not.  With `--query` you can have a heterogenous list so we need
to check all elements, otherwise you'd get lists such as:

```
foo	[{'Value': 'baz', 'Key': 'bar'}]
foo	[{'Value': 'baz', 'Key': 'bar'}]
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants