mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-25 02:33:36 -04:00
Automatic merge from submit-queue eliminate duplicated codes in estimateContainer method **What this PR does / why we need it**: there are two code snippets about when to estimate resource for cpu and mem are duplicated, i extracted them into method `getEstimationIfNeeded` method Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn> |
||
|---|---|---|
| .. | ||
| admission.go | ||
| admission_test.go | ||
| BUILD | ||
| data_source.go | ||
| gcm.go | ||
| hawkular.go | ||
| hawkular_test.go | ||
| influxdb.go | ||