Skip to content

fix: replace archived github.com/golang/mock with go.uber.org/mock #2053

fix: replace archived github.com/golang/mock with go.uber.org/mock

fix: replace archived github.com/golang/mock with go.uber.org/mock #2053

Triggered via pull request November 8, 2024 10:46
Status Failure
Total duration 2m 47s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors
test: internal/hcapi2/mock/client.go#L35
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockActionClient
test: internal/hcapi2/mock/client.go#L36
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockCertificateClient
test: internal/hcapi2/mock/client.go#L37
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockDatacenterClient
test: internal/hcapi2/mock/client.go#L38
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockFirewallClient
test: internal/hcapi2/mock/client.go#L39
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockFloatingIPClient
test: internal/hcapi2/mock/client.go#L40
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockPrimaryIPClient
test: internal/hcapi2/mock/client.go#L41
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockImageClient
test: internal/hcapi2/mock/client.go#L42
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockLocationClient
test: internal/hcapi2/mock/client.go#L43
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockLoadBalancerClient
test: internal/hcapi2/mock/client.go#L44
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockLoadBalancerTypeClient
lint: internal/hcapi2/mock/client.go#L35
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockActionClient
lint: internal/hcapi2/mock/client.go#L36
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockCertificateClient
lint: internal/hcapi2/mock/client.go#L37
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockDatacenterClient
lint: internal/hcapi2/mock/client.go#L38
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockFirewallClient
lint: internal/hcapi2/mock/client.go#L39
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockFloatingIPClient
lint: internal/hcapi2/mock/client.go#L40
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockPrimaryIPClient
lint: internal/hcapi2/mock/client.go#L41
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockImageClient
lint: internal/hcapi2/mock/client.go#L42
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockLocationClient
lint: internal/hcapi2/mock/client.go#L43
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockLoadBalancerClient
lint: internal/hcapi2/mock/client.go#L44
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockLoadBalancerTypeClient