mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
MAINT: Make staticcheck more strict and fix new warnings (#1408)
* Make staticcheck more strict and fix new warnings
This commit is contained in:
@@ -352,7 +352,9 @@ func (c *cloudflareProvider) createTestWorker(workerName string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// go-staticcheck lies!
|
||||
//lint:ignore U1000 false positive due to
|
||||
// https://github.com/dominikh/go-tools/issues/1137 which is a dup of
|
||||
// https://github.com/dominikh/go-tools/issues/810
|
||||
type pageRuleConstraint struct {
|
||||
Operator string `json:"operator"`
|
||||
Value string `json:"value"`
|
||||
|
Reference in New Issue
Block a user