You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is low priority, and feel free to respond with "nope, not worth fixing". However I thought I'd let you know:
Describe the bug
errorlint reports:
dnscontrol$ golangci-lint run --sort-results --enable-only errorlint
providers/akamaiedgedns/akamaiEdgeDnsService.go:115:37: type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
if dnsv2.IsConfigDNSError(err) && err.(dnsv2.ConfigDNSError).NotFound() {
^
providers/akamaiedgedns/akamaiEdgeDnsService.go:129:37: type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
if dnsv2.IsConfigDNSError(err) && err.(dnsv2.ConfigDNSError).NotFound() {
^
providers/akamaiedgedns/akamaiEdgeDnsService.go:244:37: type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
if dnsv2.IsConfigDNSError(err) && err.(dnsv2.ConfigDNSError).NotFound() {
To Reproduce
Steps to reproduce the behavior:
see above
Expected behavior
n/a
DNS Provider
AKAMAIEDGEDNS
Additional context
n/a
The text was updated successfully, but these errors were encountered:
CC @edglynes
Hello friend!
This is low priority, and feel free to respond with "nope, not worth fixing". However I thought I'd let you know:
Describe the bug
errorlint reports:
To Reproduce
Steps to reproduce the behavior:
see above
Expected behavior
n/a
DNS Provider
Additional context
n/a
The text was updated successfully, but these errors were encountered: