Session Affinity ChangeOnFailure should be boolean
This commit is contained in:
parent
c6c6f51006
commit
83f2acbe38
5 changed files with 15 additions and 16 deletions
|
|
@ -100,7 +100,7 @@ func TestIngressAffinityCookieConfig(t *testing.T) {
|
|||
t.Errorf("expected /foo as session-cookie-path but returned %v", nginxAffinity.Cookie.Path)
|
||||
}
|
||||
|
||||
if nginxAffinity.Cookie.ChangeOnFailure != "true" {
|
||||
if !nginxAffinity.Cookie.ChangeOnFailure {
|
||||
t.Errorf("expected change of failure parameter set to true but returned %v", nginxAffinity.Cookie.ChangeOnFailure)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue