@@ -958,7 +958,7 @@ func defaultOneshotServiceGroup(service *parser.UnitFile, remainAfterExit bool)
958958// The original Network group is kept around as X-Network.
959959// Also returns the canonical network name, either auto-generated or user-defined via the
960960// NetworkName key-value.
961- func ConvertNetwork (network * parser.UnitFile , name string , unitsInfoMap map [string ]* UnitInfo , isUser bool ) (* parser.UnitFile , error , error ) {
961+ func ConvertNetwork (network * parser.UnitFile , unitsInfoMap map [string ]* UnitInfo , isUser bool ) (* parser.UnitFile , error , error ) {
962962 var warn , warnings error
963963
964964 service , unitInfo , err := initServiceUnitFile (network , isUser , unitsInfoMap , NetworkGroup )
@@ -1047,7 +1047,7 @@ func ConvertNetwork(network *parser.UnitFile, name string, unitsInfoMap map[stri
10471047// The original Volume group is kept around as X-Volume.
10481048// Also returns the canonical volume name, either auto-generated or user-defined via the VolumeName
10491049// key-value.
1050- func ConvertVolume (volume * parser.UnitFile , name string , unitsInfoMap map [string ]* UnitInfo , isUser bool ) (* parser.UnitFile , error , error ) {
1050+ func ConvertVolume (volume * parser.UnitFile , unitsInfoMap map [string ]* UnitInfo , isUser bool ) (* parser.UnitFile , error , error ) {
10511051 var warn , warnings error
10521052
10531053 service , unitInfo , err := initServiceUnitFile (volume , isUser , unitsInfoMap , VolumeGroup )
0 commit comments