Skip to content

Commit 9a632e1

Browse files
committed
ignore dynamic errors
1 parent 0e9ef02 commit 9a632e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

npm/pkg/dataplane/ipsets/ipsetmanager_windows.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -443,15 +443,15 @@ func getPolicyNetworkRequestMarshal(setPolicySettings map[string]*hcn.SetPolicyS
443443

444444
func isValidIPSet(set *IPSet) error {
445445
if set.Name == "" {
446-
return fmt.Errorf("IPSet %s is missing Name", set.Name)
446+
return fmt.Errorf("IPSet %s is missing Name", set.Name) //nolint:err113 // static err not required
447447
}
448448

449449
if set.Type == UnknownType {
450-
return fmt.Errorf("IPSet %s is missing Type", set.Type.String())
450+
return fmt.Errorf("IPSet %s is missing Type", set.Type.String()) //nolint:err113 // static err not required
451451
}
452452

453453
if set.HashedName == "" {
454-
return fmt.Errorf("IPSet %s is missing HashedName", set.HashedName)
454+
return fmt.Errorf("IPSet %s is missing HashedName", set.HashedName) //nolint:err113 // static err not required
455455
}
456456

457457
return nil

0 commit comments

Comments
 (0)