diff --git a/vendor.conf b/vendor.conf index 33ce15c56..346599d00 100644 --- a/vendor.conf +++ b/vendor.conf @@ -17,7 +17,7 @@ github.com/patrickmn/go-cache 1881a9bccb818787f68c52bfba648c6cf34c34fa github.com/pkg/errors 1d2e60385a13aaa66134984235061c2f9302520e github.com/rancher/go-rancher 939fd85e3c7f06f29e985fd35cb62a281a32d3b0 github.com/rancher/rancher-catalog-service a3a8b500adceb82b3a0387b2c7b06a60e7eeee9a -github.com/rancher/rancher-compose-executor v0.14.3 +github.com/rancher/rancher-compose-executor v0.14.4 github.com/rancher/rancher-docker-api-proxy 461b5e7022698283030495cf5693680699ce9c28 github.com/Sirupsen/logrus 26709e2714106fb8ad40b773b711ebce25b78914 github.com/spf13/pflag cb88ea77998c3f024757528e3305022ab50b43be diff --git a/vendor/github.com/rancher/rancher-compose-executor/rancher/volume.go b/vendor/github.com/rancher/rancher-compose-executor/rancher/volume.go index cb377cb40..72e1b75e1 100644 --- a/vendor/github.com/rancher/rancher-compose-executor/rancher/volume.go +++ b/vendor/github.com/rancher/rancher-compose-executor/rancher/volume.go @@ -124,10 +124,11 @@ func (v *Volume) create(ctx context.Context) error { Name: v.name, Driver: v.driver, DriverOpts: driverOptions, - StackId: v.context.Stack.Id, PerContainer: v.perContainer, } - if !v.external { + if v.external { + volumeTemplate.External = true + } else { volumeTemplate.StackId = v.context.Stack.Id } _, err := v.context.Client.VolumeTemplate.Create(&volumeTemplate)