mirror of
https://github.com/caprover/caprover
synced 2026-08-26 17:36:36 +00:00
Label services during updates
This commit is contained in:
@@ -1655,6 +1655,9 @@ class DockerApi {
|
||||
return updatedData
|
||||
})
|
||||
.then(function (updatedData) {
|
||||
updatedData.Labels = updatedData.Labels || {}
|
||||
updatedData.Labels[CAPROVER_MANAGED_SERVICE_LABEL] = 'true'
|
||||
|
||||
return self.dockerode
|
||||
.getService(serviceName)
|
||||
.update(updatedData)
|
||||
|
||||
Reference in New Issue
Block a user