Skip to content

Restart leadership & cron engine based on dynamic leadership updates #70

Restart leadership & cron engine based on dynamic leadership updates

Restart leadership & cron engine based on dynamic leadership updates #70

Triggered via pull request November 19, 2024 16:51
Status Failure
Total duration 59s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
tests: internal/leadership/leadership.go#L1
: # github.com/diagridio/go-etcd-cron/internal/leadership [github.com/diagridio/go-etcd-cron/internal/leadership.test]
tests: internal/leadership/leadership_test.go#L36
cannot use *key.New(key.Options{…}) (variable of type key.Key) as *key.Key value in struct literal
tests: internal/leadership/leadership_test.go#L57
l.Close undefined (type *Leadership has no field or method Close)
tests: internal/leadership/leadership_test.go#L69
cannot use *key.New(key.Options{…}) (variable of type key.Key) as *key.Key value in struct literal
tests: internal/leadership/leadership_test.go#L90
l.Close undefined (type *Leadership has no field or method Close)
tests: internal/leadership/leadership_test.go#L102
cannot use *key.New(key.Options{…}) (variable of type key.Key) as *key.Key value in struct literal
tests: internal/leadership/leadership_test.go#L164
cannot use *key.New(key.Options{…}) (variable of type key.Key) as *key.Key value in struct literal
tests: internal/leadership/leadership_test.go#L190
l.Close undefined (type *Leadership has no field or method Close)
tests: internal/leadership/leadership_test.go#L211
cannot use *key.New(key.Options{…}) (variable of type key.Key) as *key.Key value in struct literal
tests: internal/leadership/leadership_test.go#L252
l.Close undefined (type *Leadership has no field or method Close)
tests
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/