Преглед на файлове

We actually support volume labels and driver_opts

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof преди 4 години
родител
ревизия
609eeb0962
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      local/compose/create.go

+ 0 - 1
local/compose/create.go

@@ -512,7 +512,6 @@ func (s *composeService) ensureVolume(ctx context.Context, volume types.VolumeCo
 		eventName := fmt.Sprintf("Volume %q", volume.Name)
 		w := progress.ContextWriter(ctx)
 		w.Event(progress.CreatingEvent(eventName))
-		// TODO we miss support for driver_opts and labels
 		_, err := s.apiClient.VolumeCreate(ctx, volume_api.VolumeCreateBody{
 			Labels:     volume.Labels,
 			Name:       volume.Name,