fix bug: rbac can not be enable
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
}
