mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 11:12:03 +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:
@@ -75,8 +75,7 @@ func verifyMinionFlags() {
|
||||
}
|
||||
|
||||
func main() {
|
||||
util.AddAllFlagsToPFlags()
|
||||
flag.Parse()
|
||||
util.InitFlags()
|
||||
util.InitLogs()
|
||||
defer util.FlushLogs()
|
||||
|
||||
|
Reference in New Issue
Block a user