Move restart spec to the config.types module.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
068edfa313
commit
12b82a20ff
5 changed files with 29 additions and 40 deletions
|
|
@ -124,7 +124,7 @@ class CLITestCase(unittest.TestCase):
|
|||
mock_project.get_service.return_value = Service(
|
||||
'service',
|
||||
client=mock_client,
|
||||
restart='always',
|
||||
restart={'Name': 'always', 'MaximumRetryCount': 0},
|
||||
image='someimage')
|
||||
command.run(mock_project, {
|
||||
'SERVICE': 'service',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue