Skip to content

Type responses as time.Time where possible #397

Type responses as time.Time where possible

Type responses as time.Time where possible #397

Triggered via pull request November 27, 2024 12:22
Status Failure
Total duration 2m 47s
Artifacts

pr.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 4 warnings
Report Changes In Swagger Spec
Process completed with exit code 128.
Verify Code Generation
Process completed with exit code 2.
Build
Process completed with exit code 1.
Lint: api/models/batch.go#L151
cannot use jobStatus.CreationTime (variable of type time.Time) as *time.Time value in assignment (typecheck)
Lint: api/applications/applications_handler.go#L18
could not import github.com/equinor/radix-api/api/models (-: # github.com/equinor/radix-api/api/models
Lint: api/models/batch.go#L151
cannot use jobStatus.CreationTime (variable of type time.Time) as *time.Time value in assignment) (typecheck)
Lint: api/deployments/component_handler.go#L9
could not import github.com/equinor/radix-api/api/models (-: # github.com/equinor/radix-api/api/models
Lint: api/models/batch.go#L151
cannot use jobStatus.CreationTime (variable of type time.Time) as *time.Time value in assignment) (typecheck)
Lint: api/environments/component_spec.go#L8
could not import github.com/equinor/radix-api/api/models (-: # github.com/equinor/radix-api/api/models
Lint: api/models/batch.go#L151
cannot use jobStatus.CreationTime (variable of type time.Time) as *time.Time value in assignment) (typecheck)
Lint: api/jobs/job_controller_test.go#L61
undefined: NewJobController (typecheck)
Lint
issues found
Unit Test: api/models/batch.go#L151
cannot use jobStatus.CreationTime (variable of type time.Time) as *time.Time value in assignment
Unit Test
Process completed with exit code 1.
Report Changes In Swagger Spec
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Verify Code Generation
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Unit Test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2