@@ -958,7 +958,7 @@ func defaultOneshotServiceGroup(service *parser.UnitFile, remainAfterExit bool)
958
958
// The original Network group is kept around as X-Network.
959
959
// Also returns the canonical network name, either auto-generated or user-defined via the
960
960
// 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 ) {
962
962
var warn , warnings error
963
963
964
964
service , unitInfo , err := initServiceUnitFile (network , isUser , unitsInfoMap , NetworkGroup )
@@ -1047,7 +1047,7 @@ func ConvertNetwork(network *parser.UnitFile, name string, unitsInfoMap map[stri
1047
1047
// The original Volume group is kept around as X-Volume.
1048
1048
// Also returns the canonical volume name, either auto-generated or user-defined via the VolumeName
1049
1049
// 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 ) {
1051
1051
var warn , warnings error
1052
1052
1053
1053
service , unitInfo , err := initServiceUnitFile (volume , isUser , unitsInfoMap , VolumeGroup )
0 commit comments