returnfmt.Errorf("%s max limit to request ratio per %s is %s, but provided ratio is %f.",resourceName,limitType,enforced.String(),displayObservedRatio)
returnfmt.Errorf("%s max limit to request ratio per %s is %s, but provided ratio is %f",resourceName,limitType,enforced.String(),displayObservedRatio)
}
}
returnnil
returnnil
...
@@ -423,9 +428,10 @@ type DefaultLimitRangerActions struct{}
...
@@ -423,9 +428,10 @@ type DefaultLimitRangerActions struct{}
// ensure DefaultLimitRangerActions implements the LimitRangerActions interface.
// ensure DefaultLimitRangerActions implements the LimitRangerActions interface.