Bumping k8s dependencies to 1.13

This commit is contained in:
Cheng Xing
2018-11-16 14:08:25 -08:00
parent 305407125c
commit b4c0b68ec7
8002 changed files with 884099 additions and 276228 deletions

View File

@@ -0,0 +1,28 @@
package main
import (
"flag"
"github.com/golang/glog"
"k8s.io/klog"
)
type glogWriter struct{}
func (file *glogWriter) Write(data []byte) (n int, err error) {
glog.InfoDepth(0, string(data))
return len(data), nil
}
func main() {
flag.Set("alsologtostderr", "true")
var flags flag.FlagSet
klog.InitFlags(&flags)
flags.Set("skip_headers", "true")
flag.Parse()
klog.SetOutput(&glogWriter{})
klog.Info("nice to meet you")
glog.Flush()
klog.Flush()
}