func main() { config := options.NewKubeDNSConfig() config.AddFlags(pflag.CommandLine) flag.InitFlags() util.InitLogs() defer util.FlushLogs() verflag.PrintAndExitIfRequested() server := app.NewKubeDNSServerDefault(config) server.Run() }
func main() { config := options.NewKubeDNSConfig() config.AddFlags(pflag.CommandLine) flag.InitFlags() logs.InitLogs() defer logs.FlushLogs() verflag.PrintAndExitIfRequested() glog.V(0).Infof("version: %+v", version.Get()) server := app.NewKubeDNSServerDefault(config) server.Run() }