Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdsteelRail committed Jun 12, 2024
1 parent 9cad31c commit 4074381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/collaset/synccontrol/sync_control.go
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ func (r *RealSyncControl) Scale(
availableIDContext := availableContext[idx]
defer func() {
if err != nil {
// TODO: do not clear RevisionContextDataKey if errors from webhook
// TODO 1. only clear revisionKey from id if error is invalid or forbidden; 2. delete id if create succeeded
createFailedIDs <- availableIDContext.ID
}
}()
Expand Down

0 comments on commit 4074381

Please sign in to comment.