Skip to content

Subscription server use ConfigMap as persistent storage as well as IPC #199

Subscription server use ConfigMap as persistent storage as well as IPC

Subscription server use ConfigMap as persistent storage as well as IPC #199

Triggered via pull request May 2, 2024 17:31
Status Failure
Total duration 2m 56s
Artifacts

check-pull-request.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
Lint: internal/cmd/server/start_alarm_server.go#L35
could not import github.com/openshift-kni/oran-o2ims/internal/service (-: # github.com/openshift-kni/oran-o2ims/internal/service
Lint: internal/service/alarm_subscription_handler.go#L332
h.configMapAddEntry undefined (type *alarmSubscriptionHandler has no field or method configMapAddEntry)
Lint: internal/service/alarm_subscription_handler.go#L353
h.ConfigMapDeleteEntry undefined (type *alarmSubscriptionHandler has no field or method ConfigMapDeleteEntry)) (typecheck)
Lint: internal/service/adapter.go#L1
: # github.com/openshift-kni/oran-o2ims/internal/service [github.com/openshift-kni/oran-o2ims/internal/service.test]
Lint: internal/service/alarm_subscription_handler.go#L332
h.configMapAddEntry undefined (type *alarmSubscriptionHandler has no field or method configMapAddEntry)
Lint: internal/service/alarm_subscription_handler.go#L353
h.ConfigMapDeleteEntry undefined (type *alarmSubscriptionHandler has no field or method ConfigMapDeleteEntry) (typecheck)
Lint
issues found
Unit tests
h.configMapAddEntry undefined (type *alarmSubscriptionHandler has no field or method configMapAddEntry)
Unit tests
h.ConfigMapDeleteEntry undefined (type *alarmSubscriptionHandler has no field or method ConfigMapDeleteEntry)
Unit tests
Process completed with exit code 2.
Build image
Process completed with exit code 2.
Check generated code
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build image
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.