Skip to content

Commit

Permalink
BUG/MINOR: remove cookie keyword from backend section if the annota…
Browse files Browse the repository at this point in the history
…tion was deleted
  • Loading branch information
fabianonunes authored and oktalz committed May 27, 2021
1 parent c0b4235 commit 9e334ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controller/annotations/backendCookie.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func (a *BackendCookie) Parse(input store.StringW, forceParse bool) error {
func (a *BackendCookie) Update() error {
if a.cookieName == "" {
a.backend.Cookie = nil
return nil
}
cookie := models.Cookie{
Name: &a.cookieName,
Expand Down

0 comments on commit 9e334ce

Please sign in to comment.