Skip to content

Commit

Permalink
chore: defork cloud-provider-azure
Browse files Browse the repository at this point in the history
  • Loading branch information
comtalyst committed Aug 19, 2024
1 parent dfac3bb commit 52fe2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/cloudprovider/azure/azure_agent_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func (as *AgentPool) deleteOutdatedDeployments() (err error) {
for _, deployment := range toBeDeleted {
klog.V(4).Infof("deleteOutdatedDeployments: starts deleting outdated deployment (%s)", *deployment.Name)
rerr := as.manager.azClient.deploymentClient.Delete(ctx, as.manager.config.ResourceGroup, *deployment.Name)
if err != nil {
if rerr != nil {
errList = append(errList, rerr.Error())
}
}
Expand Down

0 comments on commit 52fe2da

Please sign in to comment.