Skip to content

WIP: allow users to select machine hub mode #240

WIP: allow users to select machine hub mode

WIP: allow users to select machine hub mode #240

Triggered via pull request May 6, 2025 13:58
Status Failure
Total duration 2m 39s
Artifacts

tests.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

19 errors
test-unit
Process completed with exit code 2.
test-unit: pkg/agent/run.go#L356
cannot use backoff.RetryNotify(post, backOffCfg, notifyFn) (value of interface type error) as func() error value in argument to group.Go
test-unit: pkg/agent/run.go#L351
undefined: cfg
test-unit: pkg/agent/run.go#L348
cannot use backoff.RetryNotify(post, backOffCfg, notifyFn) (value of interface type error) as func() error value in argument to group.Go
test-unit: pkg/agent/run.go#L342
undefined: cfg
test-unit: pkg/agent/run.go#L330
declared and not used: gctx
test-unit: pkg/agent/config.go#L417
cfg.MachineHubConfig undefined (type Config has no field or method MachineHubConfig)
test-unit: pkg/agent/config.go#L417
res.MachineHubConfig undefined (type CombinedConfig has no field or method MachineHubConfig)
test-unit: pkg/agent/config.go#L118
undefined: errors.Join
verify: pkg/agent/config.go#L118
undefined: errors.Join
verify: pkg/agent/run.go#L356
cannot use backoff.RetryNotify(post, backOffCfg, notifyFn) (value of interface type error) as func() error value in argument to group.Go) (typecheck)
verify: pkg/agent/run.go#L351
undefined: cfg
verify: pkg/agent/run.go#L348
cannot use backoff.RetryNotify(post, backOffCfg, notifyFn) (value of interface type error) as func() error value in argument to group.Go
verify: pkg/agent/run.go#L342
undefined: cfg
verify: pkg/agent/run.go#L330
declared and not used: gctx
verify: pkg/agent/config.go#L417
cfg.MachineHubConfig undefined (type Config has no field or method MachineHubConfig)
verify: pkg/agent/config.go#L417
res.MachineHubConfig undefined (type CombinedConfig has no field or method MachineHubConfig)
verify: pkg/agent/config.go#L118
undefined: errors.Join
verify: cmd/agent.go#L9
could not import github.com/jetstack/preflight/pkg/agent (-: # github.com/jetstack/preflight/pkg/agent