Skip to content

Adjust CLI regarding ske API changes #1497

Adjust CLI regarding ske API changes

Adjust CLI regarding ske API changes #1497

Triggered via pull request January 21, 2025 17:05
Status Failure
Total duration 3m 48s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
CI: internal/cmd/ske/ske.go#L10
could not import github.com/stackitcloud/stackit-cli/internal/cmd/ske/options (-: # github.com/stackitcloud/stackit-cli/internal/cmd/ske/options
CI: internal/cmd/ske/options/options.go#L242
v.ExpirationDate.Format undefined (type *string has no field or method Format)
CI: internal/cmd/ske/options/options.go#L269
version.ExpirationDate.Format undefined (type *string has no field or method Format)) (typecheck)
CI: internal/cmd/ske/cluster/create/create_test.go#L64
cannot use utils.Ptr(time.Date(0000, 01, 01, 5, 0, 0, 0, time.UTC)) (value of type *time.Time) as *string value in struct literal
CI: internal/cmd/ske/cluster/create/create_test.go#L65
cannot use utils.Ptr(time.Date(0000, 01, 01, 3, 0, 0, 0, time.UTC)) (value of type *time.Time) as *string value in struct literal (typecheck)
CI: internal/cmd/ske/cluster/update/update_test.go#L64
cannot use utils.Ptr(time.Date(0000, 01, 01, 5, 0, 0, 0, time.UTC)) (value of type *time.Time) as *string value in struct literal
CI: internal/cmd/ske/cluster/update/update_test.go#L65
cannot use utils.Ptr(time.Date(0000, 01, 01, 3, 0, 0, 0, time.UTC)) (value of type *time.Time) as *string value in struct literal (typecheck)
CI: internal/cmd/ske/options/options.go#L242
v.ExpirationDate.Format undefined (type *string has no field or method Format)
CI: internal/cmd/ske/options/options.go#L269
version.ExpirationDate.Format undefined (type *string has no field or method Format) (typecheck)
CI
Process completed with exit code 2.
CI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636