Skip to content

Picking subnets from the unused spaces in the vnet rather than randomly generating them. #5644

Picking subnets from the unused spaces in the vnet rather than randomly generating them.

Picking subnets from the unused spaces in the vnet rather than randomly generating them. #5644

Triggered via pull request July 5, 2023 08:43
Status Failure
Total duration 4m 13s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

golint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
golangci-lint: pkg/util/subnet/subnet_test.go#L76
cannot use subnets (variable of type *mock_network.MockSubnetsClient) as "github.com/Azure/ARO-RP/pkg/util/azureclient/mgmt/network".SubnetsClient value in struct literal: *mock_network.MockSubnetsClient does not implement "github.com/Azure/ARO-RP/pkg/util/azureclient/mgmt/network".SubnetsClient (missing method List) (typecheck)
golangci-lint: pkg/util/subnet/subnet_test.go#L185
cannot use subnets (variable of type *mock_network.MockSubnetsClient) as "github.com/Azure/ARO-RP/pkg/util/azureclient/mgmt/network".SubnetsClient value in struct literal: *mock_network.MockSubnetsClient does not implement "github.com/Azure/ARO-RP/pkg/util/azureclient/mgmt/network".SubnetsClient (missing method List) (typecheck)
golangci-lint: pkg/util/subnet/subnet_test.go#L249
cannot use subnets (variable of type *mock_network.MockSubnetsClient) as "github.com/Azure/ARO-RP/pkg/util/azureclient/mgmt/network".SubnetsClient value in struct literal: *mock_network.MockSubnetsClient does not implement "github.com/Azure/ARO-RP/pkg/util/azureclient/mgmt/network".SubnetsClient (missing method List) (typecheck)
golangci-lint: pkg/util/cluster/cluster.go#L373
printf: fmt.Errorf format %s has arg devVnet of wrong type github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network.VirtualNetwork (govet)
golangci-lint
issues found