Fix Equal comparison
This commit is contained in:
parent
61d32aef0f
commit
a3ef11b5d0
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue