cli: use spaces when outputting ACL auth method token TTL param. (#19159)

This commit is contained in:
James Rasell
2023-11-24 10:39:27 +00:00
committed by GitHub
parent bdac8d9583
commit cfbb2e8923
4 changed files with 22 additions and 22 deletions

View File

@@ -77,7 +77,7 @@ func formatAuthMethod(authMethod *api.ACLAuthMethod) string {
fmt.Sprintf("Name|%s", authMethod.Name),
fmt.Sprintf("Type|%s", authMethod.Type),
fmt.Sprintf("Locality|%s", authMethod.TokenLocality),
fmt.Sprintf("MaxTokenTTL|%s", authMethod.MaxTokenTTL.String()),
fmt.Sprintf("Max Token TTL|%s", authMethod.MaxTokenTTL.String()),
fmt.Sprintf("Default|%t", authMethod.Default),
fmt.Sprintf("Create Index|%d", authMethod.CreateIndex),
fmt.Sprintf("Modify Index|%d", authMethod.ModifyIndex),