Skip to content

Commit

Permalink
CLI: Fix secrets list -detailed headings (#17577)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhjp committed Oct 18, 2022
1 parent 925a2b0 commit 3ace92c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog/17577.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Remove empty table heading for `vault secrets list -detailed` output.
```
2 changes: 1 addition & 1 deletion command/secrets_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func (c *SecretsListCommand) detailedMounts(mounts map[string]*api.MountOutput)
}
}

out := []string{"Path | Plugin | Accessor | Default TTL | Max TTL | Force No Cache | Replication | Seal Wrap | External Entropy Access | Options | Description | UUID | Version | Running Version | Running SHA256 | | Deprecation Status"}
out := []string{"Path | Plugin | Accessor | Default TTL | Max TTL | Force No Cache | Replication | Seal Wrap | External Entropy Access | Options | Description | UUID | Version | Running Version | Running SHA256 | Deprecation Status"}
for _, path := range paths {
mount := mounts[path]

Expand Down

0 comments on commit 3ace92c

Please sign in to comment.