Merge pull request #754 from runzexia/clean-golog

cleanup glog
This commit is contained in:
KubeSphere CI Bot
2019-09-17 13:45:08 +08:00
committed by GitHub
2 changed files with 0 additions and 3 deletions

View File

@@ -20,7 +20,6 @@ package app
import (
goflag "flag"
"fmt"
"github.com/golang/glog"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"kubesphere.io/kubesphere/cmd/ks-iam/app/options"
@@ -50,7 +49,6 @@ cluster's shared state through which all other components interact.`,
}
s.AddFlags(cmd.Flags())
cmd.Flags().AddGoFlagSet(goflag.CommandLine)
glog.CopyStandardLogTo("INFO")
return cmd
}

1
go.mod
View File

@@ -57,7 +57,6 @@ require (
github.com/gobuffalo/flect v0.1.5 // indirect
github.com/gocraft/dbr v0.0.0-20180507214907-a0fd650918f6
github.com/golang/example v0.0.0-20170904185048-46695d81d1fa
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
github.com/google/go-querystring v1.0.0 // indirect
github.com/google/gofuzz v1.0.0 // indirect
github.com/google/uuid v1.1.1