We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, when I used make I got error:
slovik@nbkpcsi713:~/pgpool2_exporter$ make go: errors parsing go.mod: pgpool2_exporter/go.mod:5: unknown directive: toolchain make: *** [Makefile:24: promu] Error 1
Before changes in go.mod:
module github.com/pgpool/pgpool2_exporter
go 1.22
toolchain go1.22.1
require ( github.com/blang/semver v3.5.1+incompatible github.com/go-kit/log v0.2.1 github.com/golang/protobuf v1.5.3 // indirect github.com/lib/pq v1.10.2 github.com/prometheus/client_golang v1.15.1 github.com/prometheus/common v0.44.0 github.com/prometheus/procfs v0.9.0 // indirect golang.org/x/sys v0.9.0 // indirect google.golang.org/protobuf v1.30.0 // indirect ) ....
After changes in go.mod (delete toolchain go1.22.1 - is okay)
require ( github.com/blang/semver v3.5.1+incompatible github.com/go-kit/log v0.2.1 github.com/golang/protobuf v1.5.3 // indirect github.com/lib/pq v1.10.2 github.com/prometheus/client_golang v1.15.1 github.com/prometheus/common v0.44.0 github.com/prometheus/procfs v0.9.0 // indirect golang.org/x/sys v0.9.0 // indirect google.golang.org/protobuf v1.30.0 // indirect )
...
make
building binaries pgpool2_exporter
Have a nice day!
Simon
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, when I used make I got error:
slovik@nbkpcsi713:~/pgpool2_exporter$ make
go: errors parsing go.mod:
pgpool2_exporter/go.mod:5: unknown directive: toolchain
make: *** [Makefile:24: promu] Error 1
Before changes in go.mod:
module github.com/pgpool/pgpool2_exporter
go 1.22
toolchain go1.22.1
require (
github.com/blang/semver v3.5.1+incompatible
github.com/go-kit/log v0.2.1
github.com/golang/protobuf v1.5.3 // indirect
github.com/lib/pq v1.10.2
github.com/prometheus/client_golang v1.15.1
github.com/prometheus/common v0.44.0
github.com/prometheus/procfs v0.9.0 // indirect
golang.org/x/sys v0.9.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
)
....
After changes in go.mod (delete toolchain go1.22.1 - is okay)
module github.com/pgpool/pgpool2_exporter
go 1.22
require (
github.com/blang/semver v3.5.1+incompatible
github.com/go-kit/log v0.2.1
github.com/golang/protobuf v1.5.3 // indirect
github.com/lib/pq v1.10.2
github.com/prometheus/client_golang v1.15.1
github.com/prometheus/common v0.44.0
github.com/prometheus/procfs v0.9.0 // indirect
golang.org/x/sys v0.9.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
)
...
make
Have a nice day!
Simon
The text was updated successfully, but these errors were encountered: