feat(sources): add sources and workflows to the backend BE-12919 (#2666)

This commit is contained in:
andres-portainer
2026-05-20 20:42:10 -03:00
committed by GitHub
parent 4cd8c04691
commit 3d09c70e13
71 changed files with 3117 additions and 317 deletions
+1 -3
View File
@@ -28,9 +28,7 @@ func buildSource(id, url string, wfs []ce.Workflow) Source {
if sourceError == "" && wf.Status.Source.Status == ce.StatusError {
sourceError = wf.Status.Source.Error
}
if wf.LastSyncDate > lastSync {
lastSync = wf.LastSyncDate
}
lastSync = max(lastSync, wf.LastSyncDate)
if wf.Target.EndpointID != 0 {
endpointIDs.Add(wf.Target.EndpointID)
}