mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 22:20:51 +00:00
Address code review comments
Add some documentation. Create new util.InitFlags() function to merge and parse in one step.
This commit is contained in:
@@ -90,8 +90,7 @@ func setupRunOnce() {
|
||||
}
|
||||
|
||||
func main() {
|
||||
util.AddAllFlagsToPFlags()
|
||||
flag.Parse()
|
||||
util.InitFlags()
|
||||
util.InitLogs()
|
||||
defer util.FlushLogs()
|
||||
rand.Seed(time.Now().UTC().UnixNano())
|
||||
|
Reference in New Issue
Block a user