mirror of https://github.com/docker/cli.git
Merge pull request #262 from cdrage/on-failure-error
on_failure -> on-failure in compose code
This commit is contained in:
commit
4c88a1cb53
|
@ -39,7 +39,7 @@ services:
|
|||
cpus: '0.0001'
|
||||
memory: 20M
|
||||
restart_policy:
|
||||
condition: on_failure
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
window: 120s
|
||||
|
|
|
@ -683,7 +683,7 @@ func TestFullExample(t *testing.T) {
|
|||
},
|
||||
},
|
||||
RestartPolicy: &types.RestartPolicy{
|
||||
Condition: "on_failure",
|
||||
Condition: "on-failure",
|
||||
Delay: durationPtr(5 * time.Second),
|
||||
MaxAttempts: uint64Ptr(3),
|
||||
Window: durationPtr(2 * time.Minute),
|
||||
|
|
Loading…
Reference in New Issue