Sfoglia il codice sorgente

pass --force and --volumes options to backend

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 4 anni fa
parent
commit
b5827d4a86
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      cmd/compose/remove.go

+ 2 - 0
cmd/compose/remove.go

@@ -71,5 +71,7 @@ func runRemove(ctx context.Context, backend api.Service, opts removeOptions, ser
 
 	return backend.Remove(ctx, project, api.RemoveOptions{
 		Services: services,
+		Force:    opts.force,
+		Volumes:  opts.volumes,
 	})
 }