CLI: Fix secrets list -detailed headings (#17577)

This commit is contained in:
Tom Proctor 2022-10-18 14:46:11 +01:00 committed by GitHub
parent 787e315004
commit 455f1f6073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

3
changelog/17577.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
cli: Remove empty table heading for `vault secrets list -detailed` output.
```

View File

@ -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]