mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #2876 from xiang90/little_fix
etcdmian: remove main prefix in logging
This commit is contained in:
commit
7ad2b22498
@ -76,7 +76,7 @@ func Main() {
|
||||
if envMaxProcs, err := strconv.Atoi(os.Getenv("GOMAXPROCS")); err == nil {
|
||||
GoMaxProcs = envMaxProcs
|
||||
}
|
||||
log.Printf("main: setting maximum number of CPUs to %d, total number of available CPUs is %d", GoMaxProcs, runtime.NumCPU())
|
||||
log.Printf("setting maximum number of CPUs to %d, total number of available CPUs is %d", GoMaxProcs, runtime.NumCPU())
|
||||
runtime.GOMAXPROCS(GoMaxProcs)
|
||||
|
||||
// TODO: check whether fields are set instead of whether fields have default value
|
||||
|
Loading…
x
Reference in New Issue
Block a user