restore klog flags (#5411)

(cherry picked from commit 3c86f112e2)

Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
release-2.13
Matthew Fisher 7 years ago
parent 79d07943b0
commit 20c949f121
No known key found for this signature in database
GPG Key ID: 92AA783CBAAE8E3B

@ -36,6 +36,7 @@ import (
"google.golang.org/grpc/health" "google.golang.org/grpc/health"
healthpb "google.golang.org/grpc/health/grpc_health_v1" healthpb "google.golang.org/grpc/health/grpc_health_v1"
"google.golang.org/grpc/keepalive" "google.golang.org/grpc/keepalive"
"k8s.io/klog"
// Import to initialize client auth plugins. // Import to initialize client auth plugins.
_ "k8s.io/client-go/plugin/pkg/client/auth" _ "k8s.io/client-go/plugin/pkg/client/auth"
@ -100,6 +101,7 @@ var (
) )
func main() { func main() {
klog.InitFlags(nil)
// TODO: use spf13/cobra for tiller instead of flags // TODO: use spf13/cobra for tiller instead of flags
flag.Parse() flag.Parse()

Loading…
Cancel
Save