mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 06:09:17 +00:00
feat(compose): add TODO to address deployment idempotency
This commit is contained in:
1 parent
5bcbfc332d
commit
b799b7518e
4 files changed
+8
No files matched your search
@@ -40,6 +40,7 @@ func (cli *Client) CreateContainer(
|
||||
}
|
||||
containerName := fmt.Sprintf("%s-%s", spec.Name, suffix)
|
||||
|
||||
// TODO: calculate the spec hash and set it as a label to detect changes in the service spec.
|
||||
config := &container.Config{
|
||||
Cmd: spec.Container.Command,
|
||||
Hostname: containerName,
|
||||
|
||||
Reference in new issue
Block a user