Fresh dep ensure

This commit is contained in:
Mike Cronce
2018-11-26 13:23:56 -05:00
parent 93cb8a04d7
commit 407478ab9a
9016 changed files with 551394 additions and 279685 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()
}