Skip to content

Commit

Permalink
fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentportella committed Aug 22, 2024
1 parent 00de0bb commit 5eb83b7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -524,10 +524,12 @@ func TestPendingTimeoutReached(t *testing.T) {
assert.Equal(t, v1.CycleNodeRequestPending, cnr.Status.Phase)

// Keep the node detached
fakeTransitioner.Autoscaling.DetachInstances(&autoscaling.DetachInstancesInput{
_, err = fakeTransitioner.Autoscaling.DetachInstances(&autoscaling.DetachInstancesInput{
InstanceIds: aws.StringSlice([]string{nodegroup[0].InstanceID}),
})

assert.NoError(t, err)

output, err = fakeTransitioner.Autoscaling.DescribeAutoScalingGroups(&autoscaling.DescribeAutoScalingGroupsInput{})
assert.NoError(t, err)
assert.Equal(t, 1, len(output.AutoScalingGroups))
Expand Down

0 comments on commit 5eb83b7

Please sign in to comment.