Avoid running no-op update jobs
@@ -58,8 +58,10 @@ func (d *Daemon) pollForNewImages(logger log.Logger) {
}
}
+ if len(changes.Changes) > 0 {
d.UpdateManifests(update.Spec{Type: update.Auto, Spec: changes})
}
+}
func getTagPattern(services policy.ServiceMap, service flux.ServiceID, container string) string {
policies := services[service]
