Skip to content

Commit

Permalink
Merge pull request #220 from richardmarshall/fix_set_beresp.cachable
Browse files Browse the repository at this point in the history
Fix setting beresp.cacheable in vcl_fetch
  • Loading branch information
ysugimoto authored Dec 4, 2023
2 parents 2b1c04a + 3cd229f commit 3f4234e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/variable/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func (v *FetchScopeVariables) Set(s context.Scope, name, operator string, val va
}
return nil
case BERESP_CACHEABLE:
if err := doAssign(v.ctx.BackendResponseBrotli, operator, val); err != nil {
if err := doAssign(v.ctx.BackendResponseCacheable, operator, val); err != nil {
return errors.WithStack(err)
}
return nil
Expand Down

0 comments on commit 3f4234e

Please sign in to comment.