Parse cmdline flags so we get --v

This commit is contained in:
Prashanth Balasubramanian 2016-04-11 18:28:27 -07:00
parent 5c8a25c833
commit 71845f3b89

View file

@ -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)