File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -443,15 +443,15 @@ func getPolicyNetworkRequestMarshal(setPolicySettings map[string]*hcn.SetPolicyS
443443
444444func 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
You can’t perform that action at this time.
0 commit comments