-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rollout-service): fix 0 version (#2156)
The version client was storing the versions seen in the previous call to `StreamChangedApps` endpoint. Then it would set the versions of this app to 0 and notify argo cd in case they did not come in the next `StreamChangedApps` call. This incorrect behavior stayed from when we got the full overview instead of just the changed apps and could check every version every time. This PR changes the logic so that the version client now stores every previously seen version and, if a deployment from a changed app is not sent or sent as nil, deletes missing deployments (set version to 0). Ref: SRX-0F9ZN3
- Loading branch information
1 parent
a097aac
commit 232e174
Showing
1 changed file
with
59 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters