mirror of
https://github.com/docker/compose.git
synced 2026-07-11 10:44:06 +00:00
Merge pull request #8123 from ulyssessouza/fix-dict-access
Fix dics access on keep-prefix option for up
This commit is contained in:
commit
e688006444
1 changed files with 1 additions and 1 deletions
|
|
@ -1121,7 +1121,7 @@ class TopLevelCommand:
|
|||
detached = options.get('--detach')
|
||||
no_start = options.get('--no-start')
|
||||
attach_dependencies = options.get('--attach-dependencies')
|
||||
keep_prefix = not options['--no-log-prefix']
|
||||
keep_prefix = not options.get('--no-log-prefix')
|
||||
|
||||
if detached and (cascade_stop or exit_value_from or attach_dependencies):
|
||||
raise UserError(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue