Skip to content

Commit

Permalink
Check request labels for 'default', too
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Schneider committed Mar 15, 2021
1 parent 0422313 commit 216690d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/configload/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ func refineEndpoints(definedBackends Backends, endpoints config.Endpoints) error
}

for _, r := range endpoint.Requests {
names[r.Name] = struct{}{}

if err := validLabelName(r.Name, &itemRange); err != nil {
return err
}
Expand Down

0 comments on commit 216690d

Please sign in to comment.