mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
docs: update func docs
This commit is contained in:
@@ -84,7 +84,8 @@ func (v *validator) HasValidIDs(user *user.User) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// ParseIdRange is used to ensure that the configuration for ID ranges is valid.
|
||||
// validateIDRange is used to ensure that the configuration for ID ranges is valid
|
||||
// by checking the syntax and bounds.
|
||||
func validateIDRange(rangeType string, deniedRanges string) error {
|
||||
|
||||
parts := strings.Split(deniedRanges, ",")
|
||||
|
||||
Reference in New Issue
Block a user