Skip to content

Commit

Permalink
Merge pull request kubernetes#973 from stibi/945-nginx-no-reload
Browse files Browse the repository at this point in the history
check number of servers in configuration comparator
  • Loading branch information
aledbf authored Jul 15, 2017
2 parents 8f38c4a + 299d4c3 commit a6f7c93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/pkg/ingress/types_equals.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ func (c1 *Configuration) Equal(c2 *Configuration) bool {
}
}

if len(c1.Servers) != len(c2.Servers) {
return false
}

for _, c1s := range c1.Servers {
found := false
for _, c2s := range c2.Servers {
Expand Down

0 comments on commit a6f7c93

Please sign in to comment.