diff --git a/cli/compose/loader/loader.go b/cli/compose/loader/loader.go index a17105f08e..2ddc858eab 100644 --- a/cli/compose/loader/loader.go +++ b/cli/compose/loader/loader.go @@ -772,6 +772,7 @@ func transformServiceVolumeConfig(data interface{}) (interface{}, error) { } } +// nolint: unparam func transformServiceNetworkMap(value interface{}) (interface{}, error) { if list, ok := value.([]interface{}); ok { mapValue := map[interface{}]interface{}{} @@ -783,6 +784,7 @@ func transformServiceNetworkMap(value interface{}) (interface{}, error) { return value, nil } +// nolint: unparam func transformStringOrNumberList(value interface{}) (interface{}, error) { list := value.([]interface{}) result := make([]string, len(list))