Skip to content

Commit 8938be0

Browse files
committed
enable value 0 for TTL attribute on cache rule
1 parent 7fb0755 commit 8938be0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

incapsula/client_cache_rule.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type CacheRule struct {
1515
Action string `json:"action"`
1616
Filter string `json:"filter"`
1717
Enabled bool `json:"enabled"`
18-
TTL int `json:"ttl,omitempty"`
18+
TTL int `json:"ttl"`
1919
IgnoredParams string `json:"ignored_params,omitempty"`
2020
Text string `json:"text,omitempty"`
2121
DifferentiateByValue string `json:"differentiate_by_value,omitempty"`

0 commit comments

Comments
 (0)