File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ func (a *StaticAutoscaler) RunOnce(currentTime time.Time) caerrors.AutoscalerErr
293
293
stateUpdateStart := time .Now ()
294
294
295
295
// Get nodes and pods currently living on cluster
296
- allNodes , readyNodes , typedErr := a .obtainNodeLists (a . CloudProvider )
296
+ allNodes , readyNodes , typedErr := a .obtainNodeLists ()
297
297
if typedErr != nil {
298
298
klog .Errorf ("Failed to get node list: %v" , typedErr )
299
299
return typedErr
@@ -949,7 +949,7 @@ func (a *StaticAutoscaler) ExitCleanUp() {
949
949
a .clusterStateRegistry .Stop ()
950
950
}
951
951
952
- func (a * StaticAutoscaler ) obtainNodeLists (cp cloudprovider. CloudProvider ) ([]* apiv1.Node , []* apiv1.Node , caerrors.AutoscalerError ) {
952
+ func (a * StaticAutoscaler ) obtainNodeLists () ([]* apiv1.Node , []* apiv1.Node , caerrors.AutoscalerError ) {
953
953
allNodes , err := a .AllNodeLister ().List ()
954
954
if err != nil {
955
955
klog .Errorf ("Failed to list all nodes: %v" , err )
You can’t perform that action at this time.
0 commit comments