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 @@ -464,15 +464,15 @@ func getPolicyNetworkRequestMarshal(setPolicySettings map[string]*hcn.SetPolicyS
464464
465465func isValidIPSet (set * IPSet ) error {
466466 if set .Name == "" {
467- return fmt .Errorf ("IPSet " + set . Name + " is missing Name" )
467+ return fmt .Errorf ("IPSet %s is missing Name" , set . Name )
468468 }
469469
470470 if set .Type == UnknownType {
471- return fmt .Errorf ("IPSet " + set .Type .String () + " is missing Type" )
471+ return fmt .Errorf ("IPSet %s is missing Type" , set .Type .String ())
472472 }
473473
474474 if set .HashedName == "" {
475- return fmt .Errorf ("IPSet " + set . HashedName + " is missing HashedName" )
475+ return fmt .Errorf ("IPSet %s is missing HashedName" , set . HashedName )
476476 }
477477
478478 return nil
You can’t perform that action at this time.
0 commit comments