Skip to content

fix: fix Capacity Value Requirements #5186

fix: fix Capacity Value Requirements

fix: fix Capacity Value Requirements #5186

Triggered via pull request December 1, 2025 16:40
Status Failure
Total duration 3m 57s
Artifacts

code-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 warnings
staticcheck: pkg/propertychecker/azure/checker_test.go#L142
cannot use "200" (untyped string constant) as uint32 value in struct literal
staticcheck: pkg/propertychecker/azure/checker_test.go#L135
cannot use "0" (untyped string constant) as uint32 value in struct literal
staticcheck: pkg/propertychecker/azure/checker_test.go#L128
cannot use "200" (untyped string constant) as uint32 value in struct literal
staticcheck: pkg/propertychecker/azure/checker_test.go#L121
cannot use "0" (untyped string constant) as uint32 value in struct literal
staticcheck: pkg/propertychecker/azure/checker_test.go#L114
cannot use "3.5" (untyped string constant) as uint32 value in struct literal
staticcheck: pkg/propertychecker/azure/checker_test.go#L60
propertyChecker.SupportsProperty undefined (type *PropertyChecker has no field or method SupportsProperty)
staticcheck: pkg/propertychecker/azure/checker_test.go#L23
other declaration of azure
staticcheck: pkg/propertychecker/azure/checker_test.go#L24
azure redeclared in this block
Lint: pkg/propertychecker/azure/checker_test.go#L142
cannot use "200" (untyped string constant) as uint32 value in struct literal
Lint: pkg/propertychecker/azure/checker_test.go#L135
cannot use "0" (untyped string constant) as uint32 value in struct literal
Lint: pkg/propertychecker/azure/checker_test.go#L128
cannot use "200" (untyped string constant) as uint32 value in struct literal
Lint: pkg/propertychecker/azure/checker_test.go#L121
cannot use "0" (untyped string constant) as uint32 value in struct literal
Lint: pkg/propertychecker/azure/checker_test.go#L114
cannot use "3.5" (untyped string constant) as uint32 value in struct literal
Lint: pkg/propertychecker/azure/checker_test.go#L107
undefined: quantity
Lint: pkg/propertychecker/azure/checker_test.go#L107
undefined: invalid
Lint: pkg/propertychecker/azure/checker_test.go#L60
propertyChecker.SupportsProperty undefined (type *PropertyChecker has no field or method SupportsProperty)
Lint: pkg/propertychecker/azure/checker_test.go#L23
other declaration of azure
Lint: pkg/propertychecker/azure/checker_test.go#L24
azure redeclared in this block
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