Session Affinity ChangeOnFailure should be boolean

This commit is contained in:
Elvin Efendi 2019-06-06 11:02:51 -04:00
parent c6c6f51006
commit 83f2acbe38
5 changed files with 15 additions and 16 deletions

View file

@ -149,7 +149,7 @@ type CookieSessionAffinity struct {
MaxAge string `json:"maxage,omitempty"`
Locations map[string][]string `json:"locations,omitempty"`
Path string `json:"path,omitempty"`
ChangeOnFailure string `json:"changeonfailure"`
ChangeOnFailure bool `json:"change_on_failure,omitempty"`
}
// UpstreamHashByConfig described setting from the upstream-hash-by* annotations.