Skip to content

Implement PodResourceRequests() & PodResourceLimits() #226

Implement PodResourceRequests() & PodResourceLimits()

Implement PodResourceRequests() & PodResourceLimits() #226

Triggered via pull request July 2, 2024 08:18
@pritamdas99pritamdas99
synchronize #58
per-pod
Status Failure
Total duration 1m 27s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
Build: calculator.go#L26
could not import kmodules.xyz/resource-metrics/kubedb.com/v1alpha2 (-: # kmodules.xyz/resource-metrics/kubedb.com/v1alpha2
Build: kubedb.com/v1alpha2/kafka.go#L49
cannot use r.roleResourceFn(api.ResourceLimits) (value of type func(obj map[string]interface{}) (map[api.PodRole]"k8s.io/api/core/v1".ResourceList, error)) as func(obj map[string]interface{}) (map[api.PodRole]api.PodInfo, error) value in struct literal
Build: kubedb.com/v1alpha2/kafka.go#L50
cannot use r.roleResourceFn(api.ResourceRequests) (value of type func(obj map[string]interface{}) (map[api.PodRole]"k8s.io/api/core/v1".ResourceList, error)) as func(obj map[string]interface{}) (map[api.PodRole]api.PodInfo, error) value in struct literal) (typecheck)
Build: kubedb.com/v1alpha2/constants.go#L1
: # kmodules.xyz/resource-metrics/kubedb.com/v1alpha2 [kmodules.xyz/resource-metrics/kubedb.com/v1alpha2.test]
Build: kubedb.com/v1alpha2/kafka.go#L49
cannot use r.roleResourceFn(api.ResourceLimits) (value of type func(obj map[string]interface{}) (map[api.PodRole]"k8s.io/api/core/v1".ResourceList, error)) as func(obj map[string]interface{}) (map[api.PodRole]api.PodInfo, error) value in struct literal
Build: kubedb.com/v1alpha2/kafka.go#L50
cannot use r.roleResourceFn(api.ResourceRequests) (value of type func(obj map[string]interface{}) (map[api.PodRole]"k8s.io/api/core/v1".ResourceList, error)) as func(obj map[string]interface{}) (map[api.PodRole]api.PodInfo, error) value in struct literal (typecheck)
Build
lint] Error 1
Build
Process completed with exit code 2.
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/