File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -383,17 +383,17 @@ func getConntrackMax(config *options.ProxyServerConfig) (int, error) {
383
383
if config .ConntrackMaxPerCore > 0 {
384
384
return - 1 , fmt .Errorf ("invalid config: ConntrackMax and ConntrackMaxPerCore are mutually exclusive" )
385
385
}
386
- glog .V (3 ).Infof ("getConntrackMax: using absolute conntrax -max (deprecated)" )
386
+ glog .V (3 ).Infof ("getConntrackMax: using absolute conntrack -max (deprecated)" )
387
387
return int (config .ConntrackMax ), nil
388
388
}
389
389
if config .ConntrackMaxPerCore > 0 {
390
390
floor := int (config .ConntrackMin )
391
391
scaled := int (config .ConntrackMaxPerCore ) * runtime .NumCPU ()
392
392
if scaled > floor {
393
- glog .V (3 ).Infof ("getConntrackMax: using scaled conntrax -max-per-core" )
393
+ glog .V (3 ).Infof ("getConntrackMax: using scaled conntrack -max-per-core" )
394
394
return scaled , nil
395
395
}
396
- glog .V (3 ).Infof ("getConntrackMax: using conntrax -min" )
396
+ glog .V (3 ).Infof ("getConntrackMax: using conntrack -min" )
397
397
return floor , nil
398
398
}
399
399
return 0 , nil
You can’t perform that action at this time.
0 commit comments