Skip to content

Multi target support #142

Multi target support

Multi target support #142

Re-run triggered October 10, 2023 20:24
Status Failure
Total duration 2m 55s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint Check: main.go#L37
[golangci-lint] reported by reviewdog 🐶 tag is not aligned, should be: env:"MONGODB_USER" help:"monitor user, need clusterMonitor role in admin db and read role in local db" name:"mongodb.user" placeholder:"monitorUser" (tagalign) Raw Output: main.go:37:33: tag is not aligned, should be: env:"MONGODB_USER" help:"monitor user, need clusterMonitor role in admin db and read role in local db" name:"mongodb.user" placeholder:"monitorUser" (tagalign) User string `name:"mongodb.user" help:"monitor user, need clusterMonitor role in admin db and read role in local db" env:"MONGODB_USER" placeholder:"monitorUser"` ^
Lint Check: main.go#L38
[golangci-lint] reported by reviewdog 🐶 tag is not aligned, should be: env:"MONGODB_PASSWORD" help:"monitor user password" name:"mongodb.password" placeholder:"monitorPassword" (tagalign) Raw Output: main.go:38:33: tag is not aligned, should be: env:"MONGODB_PASSWORD" help:"monitor user password" name:"mongodb.password" placeholder:"monitorPassword" (tagalign) Password string `name:"mongodb.password" help:"monitor user password" env:"MONGODB_PASSWORD" placeholder:"monitorPassword"` ^
Lint Check: main.go#L39
[golangci-lint] reported by reviewdog 🐶 tag is not aligned, should be: help:"List of comma separared databases.collections to get $collStats" name:"mongodb.collstats-colls" placeholder:"db1,db2.col2" (tagalign) Raw Output: main.go:39:33: tag is not aligned, should be: help:"List of comma separared databases.collections to get $collStats" name:"mongodb.collstats-colls" placeholder:"db1,db2.col2" (tagalign) CollStatsNamespaces string `name:"mongodb.collstats-colls" help:"List of comma separared databases.collections to get $collStats" placeholder:"db1,db2.col2"` ^
Lint Check: main.go#L40
[golangci-lint] reported by reviewdog 🐶 tag is not aligned, should be: help:"List of comma separared databases.collections to get $indexStats" name:"mongodb.indexstats-colls" placeholder:"db1.col1,db2.col2" (tagalign) Raw Output: main.go:40:33: tag is not aligned, should be: help:"List of comma separared databases.collections to get $indexStats" name:"mongodb.indexstats-colls" placeholder:"db1.col1,db2.col2" (tagalign) IndexStatsCollections string `name:"mongodb.indexstats-colls" help:"List of comma separared databases.collections to get $indexStats" placeholder:"db1.col1,db2.col2"` ^
Lint Check: main.go#L41
[golangci-lint] reported by reviewdog 🐶 tag is not aligned, should be: env:"MONGODB_URI" help:"MongoDB connection URI" name:"mongodb.uri" placeholder:"***127.0.0.1:27017/admin?ssl=true" (tagalign) Raw Output: main.go:41:33: tag is not aligned, should be: env:"MONGODB_URI" help:"MongoDB connection URI" name:"mongodb.uri" placeholder:"***127.0.0.1:27017/admin?ssl=true" (tagalign) URI []string `name:"mongodb.uri" help:"MongoDB connection URI" env:"MONGODB_URI" placeholder:"***127.0.0.1:27017/admin?ssl=true"` ^
Lint Check: main.go#L42
[golangci-lint] reported by reviewdog 🐶 tag is not aligned, should be: help:"Use global connection pool instead of creating new pool for each http request." name:"mongodb.global-conn-pool" negatable:"" (tagalign) Raw Output: main.go:42:33: tag is not aligned, should be: help:"Use global connection pool instead of creating new pool for each http request." name:"mongodb.global-conn-pool" negatable:"" (tagalign) GlobalConnPool bool `name:"mongodb.global-conn-pool" help:"Use global connection pool instead of creating new pool for each http request." negatable:""` ^
Lint Check: main.go#L43
[golangci-lint] reported by reviewdog 🐶 tag is not aligned, should be: default:"true" help:"Whether or not a direct connect should be made. Direct connections are not valid if multiple hosts are specified or an SRV URI is used." name:"mongodb.direct-connect" negatable:"" (tagalign) Raw Output: main.go:43:33: tag is not aligned, should be: default:"true" help:"Whether or not a direct connect should be made. Direct connections are not valid if multiple hosts are specified or an SRV URI is used." name:"mongodb.direct-connect" negatable:"" (tagalign) DirectConnect bool `name:"mongodb.direct-connect" help:"Whether or not a direct connect should be made. Direct connections are not valid if multiple hosts are specified or an SRV URI is used." default:"true" negatable:""` ^
Lint Check: main.go#L44
[golangci-lint] reported by reviewdog 🐶 tag is not aligned, should be: default:":9216" help:"Address to listen on for web interface and telemetry" name:"web.listen-address" (tagalign) Raw Output: main.go:44:33: tag is not aligned, should be: default:":9216" help:"Address to listen on for web interface and telemetry" name:"web.listen-address" (tagalign) WebListenAddress string `name:"web.listen-address" help:"Address to listen on for web interface and telemetry" default:":9216"` ^
Lint Check: main.go#L45
[golangci-lint] reported by reviewdog 🐶 tag is not aligned, should be: default:"/metrics" help:"Metrics expose path" name:"web.telemetry-path" (tagalign) Raw Output: main.go:45:33: tag is not aligned, should be: default:"/metrics" help:"Metrics expose path" name:"web.telemetry-path" (tagalign) WebTelemetryPath string `name:"web.telemetry-path" help:"Metrics expose path" default:"/metrics"` ^
Lint Check
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085