Skip to content

RFC0027 Enable "update-route", "create-route", "map-route", "routes", "route", "apps" & "app" to manage generic per-route options #915

RFC0027 Enable "update-route", "create-route", "map-route", "routes", "route", "apps" & "app" to manage generic per-route options

RFC0027 Enable "update-route", "create-route", "map-route", "routes", "route", "apps" & "app" to manage generic per-route options #915

Triggered via pull request January 20, 2025 15:44
Status Failure
Total duration 1m 54s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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