1231
1232
// Processing the drainage status change.
1234
>
defer func() {
1235
>
d.asyncPropagationsInProgress--
1236
>
d.lock.Unlock()
1237
>
}()
1238
1239
// TODO: update this to new format once the old format is deleted.
1240
// Build version data with current state
1242
>
Version: d.VersionState.Version,
1243
>
RoutingUpdateTime: d.VersionState.RoutingUpdateTime,
1244
>
CurrentSinceTime: d.VersionState.CurrentSinceTime,
1245
>
RampingSinceTime: d.VersionState.RampingSinceTime,
1246
>
RampPercentage: d.VersionState.RampPercentage,
1247
>
Status: d.VersionState.Status,
1248
>
}
1249
>
1250
>
return d.syncVersionDataToTaskQueues(ctx, versionData)
1251
}
1252