Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
restart always by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy Bogdanov committed Jul 7, 2015
1 parent 4e03f4b commit eab114a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compose/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ func (m *ConfigMemory) Int64() int64 {

func (r *RestartPolicy) ToDockerApi() docker.RestartPolicy {
if r == nil {
return docker.RestartPolicy{}
return docker.RestartPolicy{Name: "always"}
}
return docker.RestartPolicy{
Name: r.Name,
Expand Down

0 comments on commit eab114a

Please sign in to comment.