Skip to content

feat: update hub-agent to use custom cluster affinity plugin in scheduler when property checker is enabled #5176

feat: update hub-agent to use custom cluster affinity plugin in scheduler when property checker is enabled

feat: update hub-agent to use custom cluster affinity plugin in scheduler when property checker is enabled #5176

Triggered via pull request November 24, 2025 16:10
Status Failure
Total duration 3m 54s
Artifacts

code-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
staticcheck
Process completed with exit code 2.
staticcheck: cmd/hubagent/workload/setup.go#L364
opts.AzurePropertyCheckerOptions undefined (type *options.Options has no field or method AzurePropertyCheckerOptions) (compile)
staticcheck: cmd/hubagent/workload/setup.go#L362
opts.AzurePropertyCheckerOptions undefined (type *options.Options has no field or method AzurePropertyCheckerOptions)
Lint
Process completed with exit code 2.
Lint: cmd/hubagent/workload/setup.go#L364
opts.AzurePropertyCheckerOptions undefined (type *options.Options has no field or method AzurePropertyCheckerOptions)) (typecheck)
Lint: cmd/hubagent/workload/setup.go#L362
opts.AzurePropertyCheckerOptions undefined (type *options.Options has no field or method AzurePropertyCheckerOptions)
Lint: cmd/hubagent/main.go#L47
could not import go.goms.io/fleet/cmd/hubagent/workload (-: # go.goms.io/fleet/cmd/hubagent/workload
Lint: cmd/hubagent/workload/setup.go#L364
opts.AzurePropertyCheckerOptions undefined (type *options.Options has no field or method AzurePropertyCheckerOptions) (typecheck)
Lint: cmd/hubagent/workload/setup.go#L362
opts.AzurePropertyCheckerOptions undefined (type *options.Options has no field or method AzurePropertyCheckerOptions)
staticcheck
Restore cache failed: Dependencies file is not found in /home/runner/work/fleet/fleet. Supported file pattern: go.sum
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/fleet/fleet. Supported file pattern: go.sum