RFC0027 Enable "update-route", "create-route", "map-route", "routes", "route", "apps" & "app" to manage generic per-route options #915
golangci-lint.yml
on: pull_request
lint
1m 43s
Run go fmt
26s
Annotations
5 errors and 2 warnings
lint:
cf/commands/route/routefakes/old_fake_route_creator.go#L86
cannot use new(OldFakeRouteCreator) (value of type *OldFakeRouteCreator) as route.Creator value in variable declaration: *OldFakeRouteCreator does not implement route.Creator (wrong type for method CreateRoute)
|
lint:
cf/actors/push_test.go#L553
assignment mismatch: 4 variables but routeActor.FindAndBindRouteArgsForCall returns 3 values (typecheck)
|
lint:
cf/commands/route/map_route_test.go#L8
could not import code.cloudfoundry.org/cli/cf/commands/route/routefakes (-: # code.cloudfoundry.org/cli/cf/commands/route/routefakes
|
lint:
cf/commands/route/routefakes/old_fake_route_creator.go#L86
cannot use new(OldFakeRouteCreator) (value of type *OldFakeRouteCreator) as route.Creator value in variable declaration: *OldFakeRouteCreator does not implement route.Creator (wrong type for method CreateRoute)
|
lint
issues found
|
Run go fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|