Skip to content

Commit

Permalink
Remove [rbac] prefix in error mssging
Browse files Browse the repository at this point in the history
Signed-off-by: notfelineit <notfelineit@gmail.com>
  • Loading branch information
notfelineit committed Mar 24, 2022
1 parent ed974bc commit 4c03621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/cmd/vtadmin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ func run(cmd *cobra.Command, args []string) {

rbacConfig = cfg
} else if enableRBAC && rbacConfigPath == "" {
fatal("[rbac] must pass --rbac-config path when enabling rbac")
fatal("must pass --rbac-config path when enabling rbac")
} else {
fatal("[rbac] must explicitly enable or disable RBAC by passing --no-rbac or --rbac")
fatal("must explicitly enable or disable RBAC by passing --no-rbac or --rbac")
}

for i, cfg := range configs {
Expand Down

0 comments on commit 4c03621

Please sign in to comment.