Skip to content

bugfix: Allow for optional TimeSlicing configuration #1508

bugfix: Allow for optional TimeSlicing configuration

bugfix: Allow for optional TimeSlicing configuration #1508

Re-run triggered October 28, 2024 13:49
Status Failure
Total duration 1m 10s
Artifacts

golang.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors
Unit test: internal/lm/mig-strategy_test.go#L61
cannot use &spec.ReplicatedResources{…} (value of type *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal
Unit test: internal/lm/mig-strategy_test.go#L86
cannot use &spec.ReplicatedResources{…} (value of type *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal
Unit test: internal/lm/mig-strategy_test.go#L110
cannot use &spec.ReplicatedResources{…} (value of type *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal
Unit test: internal/lm/mig-strategy_test.go#L132
cannot use &spec.ReplicatedResources{…} (value of type *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal
Unit test: internal/lm/mig-strategy_test.go#L154
cannot use &spec.ReplicatedResources{…} (value of type *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal
Unit test: internal/lm/mig-strategy_test.go#L186
cannot use tc.timeSlicing (variable of type "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal
Unit test: internal/lm/resource_test.go#L425
cannot use tc.timeSlicing (variable of type "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal
Unit test
Process completed with exit code 2.
check: internal/lm/mig-strategy_test.go#L61
cannot use &spec.ReplicatedResources{…} (value of type *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal
check: internal/lm/mig-strategy_test.go#L86
cannot use &spec.ReplicatedResources{…} (value of type *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal
check: internal/lm/mig-strategy_test.go#L110
cannot use &spec.ReplicatedResources{…} (value of type *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal
check: internal/lm/mig-strategy_test.go#L132
cannot use &spec.ReplicatedResources{…} (value of type *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal
check: internal/lm/mig-strategy_test.go#L154
cannot use &spec.ReplicatedResources{…} (value of type *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal
check: internal/lm/mig-strategy_test.go#L186
cannot use tc.timeSlicing (variable of type "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal
check: internal/lm/resource_test.go#L425
cannot use tc.timeSlicing (variable of type "github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources) as *"github.com/NVIDIA/k8s-device-plugin/api/config/v1".ReplicatedResources value in struct literal (typecheck)
check
issues found