Skip to content

Modify audit plan api define #3003

Modify audit plan api define

Modify audit plan api define #3003

Triggered via pull request July 31, 2024 10:26
Status Failure
Total duration 1m 41s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 6 warnings
lint: sqle/api/controller/v1/instance_audit_plan.go#L67
req.InstanceType undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceType) (typecheck)
lint: sqle/api/controller/v1/instance_audit_plan.go#L68
req.InstanceType undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceType) (typecheck)
lint: sqle/api/controller/v1/instance_audit_plan.go#L79
req.InstanceName undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceName) (typecheck)
lint: sqle/api/controller/v1/instance_audit_plan.go#L80
req.InstanceName undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceName) (typecheck)
lint: sqle/api/controller/v1/instance_audit_plan.go#L110
req.InstanceType undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceType) (typecheck)
lint: sqle/api/controller/v1/instance_audit_plan.go#L129
req.InstanceName undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceName) (typecheck)
lint
issues found
test
req.InstanceType undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceType)
test
req.InstanceType undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceType)
test
req.InstanceName undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceName)
test
req.InstanceName undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceName)
test
req.InstanceType undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceType)
test
req.InstanceName undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceName)
test
req.InstanceType undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceType)
test
req.InstanceName undefined (type *CreateInstanceAuditPlanReqV1 has no field or method InstanceName)
test
Process completed with exit code 2.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/