aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/admin_auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/admin_auth.go')
-rw-r--r--cmd/admin_auth.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/admin_auth.go b/cmd/admin_auth.go
index ec92e342d4..4777a92908 100644
--- a/cmd/admin_auth.go
+++ b/cmd/admin_auth.go
@@ -4,6 +4,7 @@
package cmd
import (
+ "errors"
"fmt"
"os"
"text/tabwriter"
@@ -91,7 +92,7 @@ func runListAuth(c *cli.Context) error {
func runDeleteAuth(c *cli.Context) error {
if !c.IsSet("id") {
- return fmt.Errorf("--id flag is missing")
+ return errors.New("--id flag is missing")
}
ctx, cancel := installSignals()