- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for validateWeight (0.23 sec)
-
pkg/config/validation/validation.go
} // TODO: find a better way to validate fields supported in custom header, e.g %ENVIRONMENT(X):Z% return nil } // validateWeight checks if weight is valid func validateWeight(weight int32) error { if weight < 0 { return fmt.Errorf("weight %d < 0", weight) } return nil } // ValidatePercent checks that percent is in range
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0)