Closed apollo13 closed 6 years ago
@giuseppe Did you test it? because even when args.display
is fixed it will still miss atomic
: https://github.com/projectatomic/atomic/blob/2fd08606a96e32d90751bd0a703c0b389d306121/Atomic/backends/_docker.py#L301 (for the cases with a stop_arg
)
what command are you using to trigger that error?
stop_arg
is used only with "atomic stop" and in that case atomic
should be properly set.
Ah okay, I couldn't trigger that error myself; just the one I posted.
could you please comment on the PR as well?
Looking at the following code https://github.com/projectatomic/atomic/blob/2fd08606a96e32d90751bd0a703c0b389d306121/Atomic/backends/_docker.py#L453 it is clear that neither
atomic
norargs
are passed in, yetstop_container
tries to use it unconditionally: https://github.com/projectatomic/atomic/blob/2fd08606a96e32d90751bd0a703c0b389d306121/Atomic/backends/_docker.py#L305-L317The full traceback: