Skip to content

fix: update dependencies #195

fix: update dependencies

fix: update dependencies #195

Triggered via pull request December 22, 2023 14:21
Status Failure
Total duration 2m 25s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
test: api/log/client_test.go#L21
cannot use NewFake(t, expectedTime, expectedLine) (value of type *fake) as "github.com/grafana/loki/pkg/logcli/client".Client value in struct literal: *fake does not implement "github.com/grafana/loki/pkg/logcli/client".Client (wrong type for method GetStats)
test: create/application_test.go#L501
cannot use log.NewFake(t, time.Now(), buildLog...) (value of type *"github.com/ninech/nctl/api/log".fake) as "github.com/grafana/loki/pkg/logcli/client".Client value in struct literal: *"github.com/ninech/nctl/api/log".fake does not implement "github.com/grafana/loki/pkg/logcli/client".Client (wrong type for method GetStats)
test: logs/logs_test.go#L29
cannot use log.NewFake(t, expectedTime, lines...) (value of type *"github.com/ninech/nctl/api/log".fake) as "github.com/grafana/loki/pkg/logcli/client".Client value in struct literal: *"github.com/ninech/nctl/api/log".fake does not implement "github.com/grafana/loki/pkg/logcli/client".Client (wrong type for method GetStats)
test
Process completed with exit code 1.
lint: api/log/client.go#L1
: # github.com/ninech/nctl/api/log [github.com/ninech/nctl/api/log.test]
lint: api/log/client_test.go#L21
cannot use NewFake(t, expectedTime, expectedLine) (value of type *fake) as "github.com/grafana/loki/pkg/logcli/client".Client value in struct literal: *fake does not implement "github.com/grafana/loki/pkg/logcli/client".Client (wrong type for method GetStats)
lint: create/apiserviceaccount.go#L1
: # github.com/ninech/nctl/create [github.com/ninech/nctl/create.test]
lint: create/application_test.go#L501
cannot use log.NewFake(t, time.Now(), buildLog...) (value of type *"github.com/ninech/nctl/api/log".fake) as "github.com/grafana/loki/pkg/logcli/client".Client value in struct literal: *"github.com/ninech/nctl/api/log".fake does not implement "github.com/grafana/loki/pkg/logcli/client".Client (wrong type for method GetStats)
lint: logs/application.go#L1
: # github.com/ninech/nctl/logs [github.com/ninech/nctl/logs.test]
lint: logs/logs_test.go#L29
cannot use log.NewFake(t, expectedTime, lines...) (value of type *"github.com/ninech/nctl/api/log".fake) as "github.com/grafana/loki/pkg/logcli/client".Client value in struct literal: *"github.com/ninech/nctl/api/log".fake does not implement "github.com/grafana/loki/pkg/logcli/client".Client (wrong type for method GetStats)
lint
issues found