Skip to content

Commit

Permalink
chore: remove unneeded check
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneutt committed Apr 8, 2022
1 parent 20acbb1 commit 4c09144
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/dataplane/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,6 @@ func getUpstreams(
var empty struct{}
upstreams := make([]kongstate.Upstream, 0, len(serviceMap))
for _, service := range serviceMap {
if len(service.Backends) == 0 {
log.WithField("service_name", *service.Name).Warnf("skipping service - no backends configured")
continue
}

// determine the name of the upstream based on the first backend.
// This "anchor" service must be used for the naming of both the Upstream and
// its service as the Kong Gateway requires resolvable DNS names due to its
Expand Down

0 comments on commit 4c09144

Please sign in to comment.