mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
chore: change default restart policy for service containers always -> unless-stopped
This commit is contained in:
1 parent
8805178a58
commit
ae9f943404
3 files changed
+4
-28
No files matched your search
+1
-1
@@ -100,7 +100,7 @@ func assertContainerMatchesSpec(t *testing.T, ctr api.ServiceContainer, spec api
|
||||
assert.Equal(t, portBindings, ctr.HostConfig.PortBindings)
|
||||
|
||||
assert.Equal(t, container.RestartPolicy{
|
||||
Name: container.RestartPolicyAlways,
|
||||
Name: container.RestartPolicyUnlessStopped,
|
||||
MaximumRetryCount: 0,
|
||||
}, ctr.HostConfig.RestartPolicy)
|
||||
|
||||
|
||||
Reference in new issue
Block a user