This is an automated email from the ASF dual-hosted git repository.

littlecui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git


The following commit(s) were added to refs/heads/master by this push:
     new 5666eba  fix bug: rbac can not be enable (#996)
5666eba is described below

commit 5666ebaa04dcb79ebf245200d05a5a35e76a2cdc
Author: Shawn <[email protected]>
AuthorDate: Fri May 21 16:37:43 2021 +0800

    fix bug: rbac can not be enable (#996)
---
 server/command/command.go | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/server/command/command.go b/server/command/command.go
index 55d3113..194d997 100644
--- a/server/command/command.go
+++ b/server/command/command.go
@@ -18,7 +18,6 @@
 package command
 
 import (
-       "github.com/apache/servicecomb-service-center/server/config"
        "github.com/apache/servicecomb-service-center/version"
        "github.com/urfave/cli"
 )
@@ -29,13 +28,6 @@ func ParseConfig(args []string) (err error) {
        app.Version = version.VERSION
        app.Usage = "servicecomb service center cmd line."
        app.Name = "servicecomb service center"
-       app.Flags = []cli.Flag{
-               cli.BoolFlag{
-                       Name:        "enable-rbac",
-                       Usage:       "enable rbac, example: --enable-rbac",
-                       Destination: &config.Server.Config.EnableRBAC,
-               },
-       }
        app.Action = func(c *cli.Context) error {
                return nil
        }

Reply via email to