Skip to content

Commit

Permalink
fixing lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
smritidahal653 committed Dec 14, 2023
1 parent f660dd7 commit de7926b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/providers/instance/instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func TestDelete(t *testing.T) {
expectedError error
}{
{
name: "Sucessfully delete instance",
name: "Successfully delete instance",
id: "azure:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nodeRG/providers/Microsoft.Compute/virtualMachineScaleSets/aks-agentpool0-20562481-vmss/virtualMachines/0",
mockAgentPoolResp: func(mockHandler *fake.MockPollingHandler[armcontainerservice.AgentPoolsClientDeleteResponse]) (*runtime.Poller[armcontainerservice.AgentPoolsClientDeleteResponse], error) {
delResp := armcontainerservice.AgentPoolsClientDeleteResponse{}
Expand Down Expand Up @@ -285,7 +285,7 @@ func TestDelete(t *testing.T) {
expectedError: errors.New("Failed to fetch latest status of operation"),
},
{
name: "Sucessfully delete instance because agentPool.Delete returns a NotFound error",
name: "Successfully delete instance because agentPool.Delete returns a NotFound error",
id: "azure:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nodeRG/providers/Microsoft.Compute/virtualMachineScaleSets/aks-agentpool0-20562481-vmss/virtualMachines/0",
mockAgentPoolResp: func(mockHandler *fake.MockPollingHandler[armcontainerservice.AgentPoolsClientDeleteResponse]) (*runtime.Poller[armcontainerservice.AgentPoolsClientDeleteResponse], error) {
return nil, tests.NotFoundAzError()
Expand Down

0 comments on commit de7926b

Please sign in to comment.