3867
3868
for _, buildID := range buildIDs {
3869
>
if _, exists := workerDeploymentData.GetVersions()[buildID]; exists {
matching_engine.go
3870
>
delete(workerDeploymentData.GetVersions(), buildID)
3871
>
deletedInNew = true
3872
>
changed = true
3873
>
}
3874
>
if removeOldFormat {
3875
>
// Remove the version from the old deployment data format if present.
3876
>
for idx, oldVersions := range deploymentData.GetVersions() {
3877
if oldVersions.GetVersion().GetDeploymentName() == deploymentName &&
3878
oldVersions.GetVersion().GetBuildId() == buildID {