Label services during updates

This commit is contained in:
Kasra Bigdeli
2026-07-19 16:59:02 -07:00
parent 71c458b756
commit d71db3405c
+3
View File
@@ -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)