Skip to content

Commit

Permalink
⚠️ address linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aramprice authored and rkoster committed Jun 7, 2023
1 parent 8557492 commit 42ae9aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
11 changes: 2 additions & 9 deletions acceptance-tests/actors/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,8 @@ func (z azureLBHelper) getLoadBalancer(resourceGroupName, loadBalancerName strin
return true, nil
}

func (z azureLBHelper) getApplicationGateway(resourceGroupName, applicationGatewayName string) (bool, error) {
_, err := z.applicationGatewaysClient.Get(context.TODO(), fmt.Sprintf("%s-bosh", resourceGroupName), applicationGatewayName, nil)
if err != nil {
return false, err
}
return true, nil
}

func (z azureLBHelper) GetLBArgs() []string {
// GetLBArgs Unused: required by interface for acceptance-tests/actors/iaas_helper.go:23
func (z azureLBHelper) GetLBArgs() []string { //nolint:unused
return []string{"--lb-type", "concourse"}
}

Expand Down
2 changes: 1 addition & 1 deletion azure/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (c Client) CheckExists(envID string) (bool, error) {
return false, fmt.Errorf("Check existence for resource group %s: %s", resourceGroupName, err)
}

if response.Success == true {
if response.Success {
return true, nil
}

Expand Down
1 change: 0 additions & 1 deletion azure/client_wrappers.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ func (c AzureStorageClientWrapper) List(ctx context.Context) (armstorage.Account

return armstorage.AccountListResult{Value: result}, nil
}

0 comments on commit 42ae9aa

Please sign in to comment.