Remove GOMAXPROCS() calls because they are unnecessary

This commit is contained in:
Lucas Käldström
2016-07-19 11:08:21 +03:00
parent 01925c810b
commit 88ea80b572
16 changed files with 3 additions and 33 deletions

View File

@@ -26,7 +26,6 @@ import (
"io/ioutil"
"os"
"path"
"runtime"
"k8s.io/kubernetes/pkg/util"
utilflag "k8s.io/kubernetes/pkg/util/flag"
@@ -188,7 +187,6 @@ func (hk *HyperKube) Run(args []string) error {
// RunToExit will run the hyperkube and then call os.Exit with an appropriate exit code.
func (hk *HyperKube) RunToExit(args []string) {
runtime.GOMAXPROCS(runtime.NumCPU())
err := hk.Run(args)
if err != nil {
fmt.Fprint(os.Stderr, err.Error())