mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 05:01:46 +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:
@@ -700,8 +700,7 @@ func TestPodHasServiceEnvVars(c *client.Client) bool {
|
||||
}
|
||||
|
||||
func main() {
|
||||
util.AddAllFlagsToPFlags()
|
||||
flag.Parse()
|
||||
util.InitFlags()
|
||||
goruntime.GOMAXPROCS(goruntime.NumCPU())
|
||||
util.ReallyCrash = true
|
||||
util.InitLogs()
|
||||
|
Reference in New Issue
Block a user