Skip to content

Commit

Permalink
fix: ci lint
Browse files Browse the repository at this point in the history
fix: ci
  • Loading branch information
Bryce-Soghigian committed Jul 12, 2024
1 parent 8156774 commit ea410de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cluster-autoscaler/cloudprovider/azure/azure_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ func (m *azureCache) regenerate() error {
return nil
}


// fetchAzureResources retrieves and updates the cached Azure resources.
//
// This function performs the following:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ func (azure *AzureCloudProvider) NodeGroupForNode(node *apiv1.Node) (cloudprovid
// HasInstance returns whether a given node has a corresponding instance in this cloud provider
func (azure *AzureCloudProvider) HasInstance(node *apiv1.Node) (bool, error) {
ng, err := azure.NodeGroupForNode(node)
if ng != nil {
return false, err
if ng == nil {
return false, err
}
return true, nil
}
Expand Down

0 comments on commit ea410de

Please sign in to comment.