mirror of
https://github.com/docker/compose.git
synced 2025-07-23 13:45:00 +02:00
We actually support volume labels and driver_opts
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
4a4e6be1cb
commit
609eeb0962
@ -512,7 +512,6 @@ func (s *composeService) ensureVolume(ctx context.Context, volume types.VolumeCo
|
|||||||
eventName := fmt.Sprintf("Volume %q", volume.Name)
|
eventName := fmt.Sprintf("Volume %q", volume.Name)
|
||||||
w := progress.ContextWriter(ctx)
|
w := progress.ContextWriter(ctx)
|
||||||
w.Event(progress.CreatingEvent(eventName))
|
w.Event(progress.CreatingEvent(eventName))
|
||||||
// TODO we miss support for driver_opts and labels
|
|
||||||
_, err := s.apiClient.VolumeCreate(ctx, volume_api.VolumeCreateBody{
|
_, err := s.apiClient.VolumeCreate(ctx, volume_api.VolumeCreateBody{
|
||||||
Labels: volume.Labels,
|
Labels: volume.Labels,
|
||||||
Name: volume.Name,
|
Name: volume.Name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user