mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
Run a more strict formatter over the code (#11312)
* Update tooling * Run gofumpt * go mod vendor
This commit is contained in:
@@ -274,7 +274,7 @@ func (p *Path) helpCallback(b *Backend) OperationFunc {
|
||||
|
||||
// Alphabetize the fields
|
||||
fieldKeys := make([]string, 0, len(p.Fields))
|
||||
for k, _ := range p.Fields {
|
||||
for k := range p.Fields {
|
||||
fieldKeys = append(fieldKeys, k)
|
||||
}
|
||||
sort.Strings(fieldKeys)
|
||||
|
||||
Reference in New Issue
Block a user