Skip to content

Commit

Permalink
Merge pull request #568 from jcmoraisjr/jm-ann-approot-1
Browse files Browse the repository at this point in the history
Revert merge annotations to the implicit root context
  • Loading branch information
aledbf authored Apr 7, 2017
2 parents 7ca7652 + 239166b commit cfef9d8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/pkg/ingress/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -623,12 +623,6 @@ func (ic *GenericController) getBackendServers() ([]*ingress.Backend, []*ingress
server = servers[defServerName]
}

// Add annotations to location of default backend (root context)
if len(server.Locations) > 0 {
loc := server.Locations[0]
mergeLocationAnnotations(loc, anns)
}

if rule.HTTP == nil &&
host != defServerName {
glog.V(3).Infof("ingress rule %v/%v does not contain HTTP rules, using default backend", ing.Namespace, ing.Name)
Expand Down

0 comments on commit cfef9d8

Please sign in to comment.