fix: remove deprecated ioutil #4
Annotations
20 errors and 1 warning
golangci-lint:
internal/agent/agent.go#L84
Error return value of `a.serve` is not checked (errcheck)
|
golangci-lint:
internal/server/server_test.go#L160
Error return value of `server.Serve` is not checked (errcheck)
|
golangci-lint:
internal/log/segment.go#L119
func `nearestMultiple` is unused (unused)
|
golangci-lint:
internal/agent/agent.go#L116
S1004: should use bytes.Equal(b, []byte{byte(log.RaftRPC)}) instead (gosimple)
|
golangci-lint:
internal/log/distributed.go#L435
S1004: should use !bytes.Equal([]byte{byte(RaftRPC)}, b) instead (gosimple)
|
golangci-lint:
internal/log/store_test.go#L86
ineffectual assignment to err (ineffassign)
|
golangci-lint:
internal/agent/agent_test.go#L126
SA1019: grpc.Code is deprecated: use status.Code instead. (staticcheck)
|
golangci-lint:
internal/agent/agent_test.go#L127
SA1019: grpc.Code is deprecated: use status.Code instead. (staticcheck)
|
golangci-lint:
internal/agent/agent_test.go#L136
SA1019: grpc.Dial is deprecated: use NewClient instead. Will be supported throughout 1.x. (staticcheck)
|
golangci-lint:
internal/server/server_test.go#L92
SA1019: grpc.Dial is deprecated: use NewClient instead. Will be supported throughout 1.x. (staticcheck)
|
Go Mod Cache
Cannot open: File exists
|
Go Mod Cache
Cannot open: File exists
|
Go Mod Cache
Cannot open: File exists
|
Go Mod Cache
Cannot open: File exists
|
Go Mod Cache
Cannot open: File exists
|
Go Mod Cache
Cannot open: File exists
|
Go Mod Cache
Cannot open: File exists
|
Go Mod Cache
Cannot open: File exists
|
Go Mod Cache
Cannot open: File exists
|
Go Mod Cache
Cannot open: File exists
|
Go Mod Cache
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Loading