We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 662ac7f + 69245b6 commit 85ac1d3Copy full SHA for 85ac1d3
2 files changed
pkg/agent/sysadvisor/plugin/qosaware/resource/cpu/region/provisionpolicy/policy_canonical.go
@@ -83,7 +83,7 @@ func (p *PolicyCanonical) sanityCheck() error {
83
84
if !ok1 && !ok2 {
85
isLegal = false
86
- } else if ok1 && v1.Value <= 0 {
+ } else if ok1 && v1.Value < 0 {
87
88
} else if ok2 && v2.Value <= 0 {
89
pkg/agent/sysadvisor/plugin/qosaware/resource/cpu/region/provisionpolicy/policy_rama.go
@@ -188,7 +188,7 @@ func (p *PolicyRama) sanityCheck() error {
188
189
190
191
192
193
194
0 commit comments