Parse cmdline flags so we get --v
This commit is contained in:
parent
5c8a25c833
commit
71845f3b89
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ limitations under the License.
|
|||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"net/http/pprof"
|
||||
|
@ -88,6 +89,7 @@ var (
|
|||
|
||||
func main() {
|
||||
var kubeClient *unversioned.Client
|
||||
flags.AddGoFlagSet(flag.CommandLine)
|
||||
flags.Parse(os.Args)
|
||||
clientConfig := kubectl_util.DefaultClientConfig(flags)
|
||||
|
||||
|
|
Loading…
Reference in a new issue