minor BPC adoptions #4
Annotations
10 errors and 2 warnings
build:
main.go#L50
multiple-value strconv.Atoi(LookupEnvOrString("UPDATE_FREQUENCY", "300")) (value of type (int, error)) in single-value context
|
build:
main.go#L51
multiple-value strconv.Atoi(LookupEnvOrString("SCRAPE_INTERVAL", "60")) (value of type (int, error)) in single-value context
|
build:
main.go#L52
multiple-value strconv.Atoi(LookupEnvOrString("PROMETHEUS_BIND_PORT", "60000")) (value of type (int, error)) in single-value context
|
build:
app/watcher_test.go#L13
"github.com/onsi/ginkgo/v2/extensions/table" imported and not used
|
build:
cf/client_test.go#L27
undefined: cfclient
|
build:
service/discovery_test.go#L56
cannot use fakeLogCacheClient (variable of type *mocks.FakeLogCacheClient) as *client.Client value in argument to fakeClient.NewLogCacheClientReturns
|
build:
service/watcher_test.go#L53
cannot use fakeLogCacheClient (variable of type *mocks.FakeLogCacheClient) as client.Client value in argument to service.NewWatcher
|
build:
util/sanitise_test.go#L6
"github.com/onsi/ginkgo/v2/extensions/table" imported and not used
|
build
unit] Error 1
|
build
Process completed with exit code 2.
|
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/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|