avoid using errors.As for 'errors.New' use errors.Is (#15549)

Bonus: ignore coredns CVE, for now, there is no fix yet

https://github.com/coredns/coredns/issues/5574
This commit is contained in:
Harshavardhana
2022-08-18 11:10:49 -07:00
committed by GitHub
parent ac240a8477
commit 895357607a
2 changed files with 5 additions and 2 deletions

View File

@@ -2,3 +2,5 @@ CVE-2020-26160
CVE-2020-15136
CVE-2020-15115
CVE-2020-15114
CVE-2022-2835
CVE-2022-2837