소스 검색

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,