mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +00:00
cleanup unused code and fix t.Fatal usage in goroutine in testing (#11694)
This commit is contained in:
@@ -99,7 +99,7 @@ func (c *AuditListCommand) Run(args []string) int {
|
||||
switch Format(c.UI) {
|
||||
case "table":
|
||||
if len(audits) == 0 {
|
||||
c.UI.Output(fmt.Sprintf("No audit devices are enabled."))
|
||||
c.UI.Output("No audit devices are enabled.")
|
||||
return 2
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user