Skip to content

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

Description

@TLINDEN

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions