Commit 751a2987 authored by Marc Bärtschi's avatar Marc Bärtschi

fix log error

parent 6b180343
......@@ -16,6 +16,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/tools/clientcmd"
"k8s.io/klog"
pb "git.dolansoft.org/marc/dns/proto"
"google.golang.org/grpc"
......@@ -31,6 +32,7 @@ func main() {
kubeconfig := flag.String("kubeconfig", "", "absolute path to the kubeconfig file")
klog.InitFlags(nil)
flag.Parse()
log.SetFlags(log.LstdFlags | log.Lshortfile)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment