Skip to content
This repository was archived by the owner on Nov 23, 2022. It is now read-only.

Commit e204791

Browse files
authored
Merge pull request #41 from Tiim/patch-1
Keep the restart policy after container update
2 parents 89b1e51 + f7d05fc commit e204791

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/routes/update.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ module.exports = fastify => {
101101
Labels: oldServerInfo.Config.Labels,
102102
HostConfig: {
103103
Binds: oldServerInfo.HostConfig.Binds,
104+
RestartPolicy: oldServerInfo.HostConfig.RestartPolicy,
104105
},
105106
};
106107
// start new self

0 commit comments

Comments
 (0)