Skip to content

send nullable time instead of empty string #55

send nullable time instead of empty string

send nullable time instead of empty string #55

Triggered via pull request January 3, 2024 08:59
Status Failure
Total duration 2m 9s
Artifacts

pr.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors
Test Swagger
Process completed with exit code 1.
Test Swagger
Process completed with exit code 1.
Lint: api/jobs/job_controller.go#L1
: # github.com/equinor/radix-api/api/jobs [github.com/equinor/radix-api/api/jobs.test]
Lint: api/jobs/job_handler_test.go#L187
cannot use radixutils.FormatTime(&step1Started) (value of type string) as *time.Time value in struct literal
Lint: api/jobs/job_handler_test.go#L187
cannot use radixutils.FormatTime(&step1Ended) (value of type string) as *time.Time value in struct literal (typecheck)
Lint: api/jobs/job_controller_test.go#L19
could not import github.com/equinor/radix-api/api/jobs (-: # github.com/equinor/radix-api/api/jobs [github.com/equinor/radix-api/api/jobs.test]
Lint: api/jobs/job_handler_test.go#L187
cannot use radixutils.FormatTime(&step1Started) (value of type string) as *time.Time value in struct literal
Lint: api/jobs/job_handler_test.go#L187
cannot use radixutils.FormatTime(&step1Ended) (value of type string) as *time.Time value in struct literal) (typecheck)
Lint: api/jobs/job_controller_test.go#L53
undefined: NewJobController (typecheck)
Lint: api/jobs/job_controller_test.go#L75
undefined: Init (typecheck)
Lint
Process completed with exit code 1.
Unit Test: api/jobs/job_handler_test.go#L187
cannot use radixutils.FormatTime(&step1Started) (value of type string) as *time.Time value in struct literal
Unit Test: api/jobs/job_handler_test.go#L187
cannot use radixutils.FormatTime(&step1Ended) (value of type string) as *time.Time value in struct literal
Unit Test
Process completed with exit code 1.