Call klog.InitFlags in dns-controller

Otherwise the logging flags don't get registered.
This commit is contained in:
Justin SB 2019-05-10 01:04:29 -04:00
parent 01519191b9
commit 97f4dd59eb
No known key found for this signature in database
GPG Key ID: 8DEC5C8217494E37
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ func main() {
var updateInterval int
// Be sure to get the glog flags
klog.InitFlags(nil)
klog.Flush()
flag.StringVar(&dnsServer, "dns-server", "", "DNS Server")