check number of servers in configuration comparator

This commit is contained in:
Martin Stiborsky 2017-07-15 17:40:28 +02:00
parent d416d029ec
commit 299d4c373c

View file

@ -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 {