Skip to content

Commit 9a1cf40

Browse files
committed
remove cache settings from hash()
1 parent 279fefc commit 9a1cf40

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/types/gateway/action.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ func (req OutboundHTTPRequest) Hash() string {
6565
}
6666

6767
s.Write([]byte(strconv.FormatUint(uint64(req.MaxResponseBytes), 10)))
68-
s.Write(sep)
69-
s.Write([]byte(strconv.FormatInt(int64(req.CacheSettings.MaxAgeMs), 10)))
70-
s.Write(sep)
71-
s.Write([]byte(strconv.FormatBool(req.CacheSettings.Store)))
7268

7369
return hex.EncodeToString(s.Sum(nil))
7470
}

0 commit comments

Comments
 (0)