Skip to content

Updated metal-go client for sub-commands ports #424

Updated metal-go client for sub-commands ports

Updated metal-go client for sub-commands ports #424

Triggered via pull request October 9, 2023 17:45
Status Failure
Total duration 35s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
test: internal/ports/convert.go#L76
cannot use &addressFamily (value of type *int32) as type *v1.IPAddressAddressFamily in struct literal
test: internal/ports/convert.go#L81
cannot use &addressFamily (value of type *int32) as type *v1.IPAddressAddressFamily in struct literal
test: internal/ports/convert.go#L86
cannot use &addressFamily (value of type *int32) as type *v1.IPAddressAddressFamily in struct literal
test: internal/ports/convert.go#L117
c.PortService.FindPortById(context.Background(), portID).Include(inc).Exclude undefined (type v1.ApiFindPortByIdRequest has no field or method Exclude)
test: internal/ports/retrieve.go#L47
c.PortService.FindPortById(context.Background(), portID).Include(inc).Exclude undefined (type v1.ApiFindPortByIdRequest has no field or method Exclude)
test: internal/ports/vlans.go#L92
cannot use port.GetType() (value of type v1.PortType) as type string in array or slice literal
test: internal/ports/vlans.go#L92
cannot use port.GetNetworkType() (value of type v1.PortNetworkType) as type string in array or slice literal
test
Process completed with exit code 1.
test
Restore cache failed: Dependencies file is not found in /home/runner/work/metal-cli/metal-cli. Supported file pattern: go.sum