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

cloudctl postgres ls -o template help string not consistent with actual behavior #246

Open
TLINDEN opened this issue Aug 15, 2023 · 0 comments

Comments

@TLINDEN
Copy link

TLINDEN commented Aug 15, 2023

As documented by cloudctl postgres ls --help the -o template output mode shall be supported - however, if executed this is what is being returned:

c postgres ls -o template --template "{{ .ID }} {{ .VERSION }}" | head -2    
<no value> <no value>
<no value> <no value>

However, using lowercased template keys works:

c postgres ls -o template --template "{{ .id }} {{ .version }}" | head -2
000dc8ce-88af-4e14-b68d-e8b00b3ea188 12
0045ac98-cb7e-476b-9e7b-7ad8a081a96f 13

So, either the help string for cloudctl postgres ls should be updated or the behavior should be changed so that it is consistent across all other cloudctl subcommands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant