PMM-7 update license to Apache 2.0 #1435
reviewdog [golangci-lint] report
reported by reviewdog 🐶
Findings (1)
internal/proto/replstatus.go|30 col 2| structtag: struct field tag bson:supportsCommittedReads"
not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
Filtered Findings (4)
exporter/top_collector_test.go|44 col 2| ineffectual assignment to filter (ineffassign)
exporter/debug_test.go|19 col 2| SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
exporter/diagnostic_data_collector_test.go|21 col 2| SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
exporter/exporter_test.go|21 col 2| SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
Annotations
Check failure on line 30 in internal/proto/replstatus.go
github-actions / golangci-lint
[golangci-lint] internal/proto/replstatus.go#L30
structtag: struct field tag `bson:supportsCommittedReads"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
Raw output
internal/proto/replstatus.go:30:2: structtag: struct field tag `bson:supportsCommittedReads"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
SupportCommittedReads bool `bson:supportsCommittedReads"`
^