Skip to content

Commit 9e334ce

Browse files
fabianonunesoktalz
authored andcommitted
BUG/MINOR: remove cookie keyword from backend section if the annotation was deleted
1 parent c0b4235 commit 9e334ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controller/annotations/backendCookie.go

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ func (a *BackendCookie) Parse(input store.StringW, forceParse bool) error {
4040
func (a *BackendCookie) Update() error {
4141
if a.cookieName == "" {
4242
a.backend.Cookie = nil
43+
return nil
4344
}
4445
cookie := models.Cookie{
4546
Name: &a.cookieName,

0 commit comments

Comments
 (0)