Fix Equal comparison

This commit is contained in:
Manuel de Brito Fontes 2017-10-25 18:57:00 -03:00
parent 61d32aef0f
commit a3ef11b5d0

View file

@ -385,6 +385,9 @@ func (l1 *Location) Equal(l2 *Location) bool {
if l1.ClientBodyBufferSize != l2.ClientBodyBufferSize { if l1.ClientBodyBufferSize != l2.ClientBodyBufferSize {
return false return false
} }
if l1.UpstreamVhost != l2.UpstreamVhost {
return false
}
return true return true
} }