mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
commit
fdb90ca179
@ -525,6 +525,9 @@ func getDeployResources(s types.ServiceConfig) container.Resources {
|
||||
case 1:
|
||||
src = arr[0]
|
||||
}
|
||||
if dst == "" {
|
||||
dst = src
|
||||
}
|
||||
resources.Devices = append(resources.Devices, container.DeviceMapping{
|
||||
PathOnHost: src,
|
||||
PathInContainer: dst,
|
||||
|
Loading…
x
Reference in New Issue
Block a user