Show an error on 'run' when there are legacy one-off containers
Also warn the user about the one-off containers in the standard error message about legacy containers. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
fc8f564558
commit
e98caf5cf9
6 changed files with 221 additions and 38 deletions
|
|
@ -308,8 +308,7 @@ class Project(object):
|
|||
self.client,
|
||||
self.name,
|
||||
self.service_names,
|
||||
stopped=stopped,
|
||||
one_off=one_off)
|
||||
)
|
||||
|
||||
return filter(matches_service_names, containers)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue