diff --git a/acceptance-tests/actors/azure.go b/acceptance-tests/actors/azure.go index e174e367f..2d375e3d7 100644 --- a/acceptance-tests/actors/azure.go +++ b/acceptance-tests/actors/azure.go @@ -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"} } diff --git a/azure/client.go b/azure/client.go index bfd91feb2..64f0c6bb0 100644 --- a/azure/client.go +++ b/azure/client.go @@ -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 } diff --git a/azure/client_wrappers.go b/azure/client_wrappers.go index 12a75da40..ab9d23680 100644 --- a/azure/client_wrappers.go +++ b/azure/client_wrappers.go @@ -43,4 +43,3 @@ func (c AzureStorageClientWrapper) List(ctx context.Context) (armstorage.Account return armstorage.AccountListResult{Value: result}, nil } -