Skip to content

Commit

Permalink
fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoShaka committed Oct 28, 2024
1 parent a5a94bd commit b07a437
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/web/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -5207,10 +5207,5 @@ func agentShouldUpdate(config *autoupdatepb.AutoUpdateConfig, version *autoupdat
}

scheduleName := version.GetSpec().GetAgents().GetSchedule()
if scheduleName == autoupdate.AgentsScheduleImmediate {
return true
}

// TODO: add support for the regular schedule name as we implement groups and autoupdate_agent_rollout
return false
return scheduleName == autoupdate.AgentsScheduleImmediate
}

0 comments on commit b07a437

Please sign in to comment.