api work #1909
Annotations
7 errors
Go build and test:
core/instance/instance_test.go#L32
cannot use []resource.Status{…} (value of type []resource.Status) as ResourceStatuses value in struct literal
|
Go build and test:
core/instance/instance_test.go#L35
unknown field Rid in struct literal of type struct{ResourceID *resourceid.T "json:\"-\" yaml:\"-\""; Label string "json:\"label\" yaml:\"label\""; Log []*resource.StatusLogEntry "json:\"log,omitempty\" yaml:\"log,omitempty\""; Status status.T "json:\"status\" yaml:\"status\""; Type string "json:\"type\" yaml:\"type\""; Provisioned resource.ProvisionStatus "json:\"provisioned,omitempty\" yaml:\"provisioned,omitempty\""; Monitor resource.MonitorFlag "json:\"monitor,omitempty\" yaml:\"monitor,omitempty\""; Disable resource.DisableFlag "json:\"disable,omitempty\" yaml:\"disable,omitempty\""; Optional resource.OptionalFlag "json:\"optional,omitempty\" yaml:\"optional,omitempty\""; Encap resource.EncapFlag "json:\"encap,omitempty\" yaml:\"encap,omitempty\""; Standby resource.StandbyFlag "json:\"standby,omitempty\" yaml:\"standby,omitempty\""; Subset string "json:\"subset,omitempty\" yaml:\"subset,omitempty\""; Info map[string]any "json:\"info,omitempty\" yaml:\"info,omitempty\""; Restart resource.RestartFlag "json:\"restart,omitempty\" yaml:\"restart,omitempty\""; Tags resource.TagSet "json:\"tags,omitempty\" yaml:\"tags,omitempty\""}
|
Go build and test:
core/instance/instance_test.go#L52
unknown field Rid in struct literal of type struct{ResourceID *resourceid.T "json:\"-\" yaml:\"-\""; Label string "json:\"label\" yaml:\"label\""; Log []*resource.StatusLogEntry "json:\"log,omitempty\" yaml:\"log,omitempty\""; Status status.T "json:\"status\" yaml:\"status\""; Type string "json:\"type\" yaml:\"type\""; Provisioned resource.ProvisionStatus "json:\"provisioned,omitempty\" yaml:\"provisioned,omitempty\""; Monitor resource.MonitorFlag "json:\"monitor,omitempty\" yaml:\"monitor,omitempty\""; Disable resource.DisableFlag "json:\"disable,omitempty\" yaml:\"disable,omitempty\""; Optional resource.OptionalFlag "json:\"optional,omitempty\" yaml:\"optional,omitempty\""; Encap resource.EncapFlag "json:\"encap,omitempty\" yaml:\"encap,omitempty\""; Standby resource.StandbyFlag "json:\"standby,omitempty\" yaml:\"standby,omitempty\""; Subset string "json:\"subset,omitempty\" yaml:\"subset,omitempty\""; Info map[string]any "json:\"info,omitempty\" yaml:\"info,omitempty\""; Restart resource.RestartFlag "json:\"restart,omitempty\" yaml:\"restart,omitempty\""; Tags resource.TagSet "json:\"tags,omitempty\" yaml:\"tags,omitempty\""}
|
Go build and test:
core/instance/instance_test.go#L63
unknown field Rid in struct literal of type struct{ResourceID *resourceid.T "json:\"-\" yaml:\"-\""; Label string "json:\"label\" yaml:\"label\""; Log []*resource.StatusLogEntry "json:\"log,omitempty\" yaml:\"log,omitempty\""; Status status.T "json:\"status\" yaml:\"status\""; Type string "json:\"type\" yaml:\"type\""; Provisioned resource.ProvisionStatus "json:\"provisioned,omitempty\" yaml:\"provisioned,omitempty\""; Monitor resource.MonitorFlag "json:\"monitor,omitempty\" yaml:\"monitor,omitempty\""; Disable resource.DisableFlag "json:\"disable,omitempty\" yaml:\"disable,omitempty\""; Optional resource.OptionalFlag "json:\"optional,omitempty\" yaml:\"optional,omitempty\""; Encap resource.EncapFlag "json:\"encap,omitempty\" yaml:\"encap,omitempty\""; Standby resource.StandbyFlag "json:\"standby,omitempty\" yaml:\"standby,omitempty\""; Subset string "json:\"subset,omitempty\" yaml:\"subset,omitempty\""; Info map[string]any "json:\"info,omitempty\" yaml:\"info,omitempty\""; Restart resource.RestartFlag "json:\"restart,omitempty\" yaml:\"restart,omitempty\""; Tags resource.TagSet "json:\"tags,omitempty\" yaml:\"tags,omitempty\""}
|
Go build and test:
core/instance/monitor_test.go#L37
undefined: ResourceMonitorMap
|
Go build and test:
core/instance/monitor_test.go#L64
undefined: ResourceMonitorMap
|
Go build and test
Process completed with exit code 1.
|