NVIDIA / dcgm-exporter

NVIDIA GPU metrics exporter for Prometheus leveraging DCGM
Apache License 2.0
923 stars 159 forks source link

doc: golang >= 1.23 is required #396

Closed stas00 closed 4 weeks ago

stas00 commented 1 month ago

update the golang min requirement to the correct one.

$ make binary
go generate ./...
go: errors parsing go.mod:
/ctx/dcgm-exporter/go.mod:3: invalid go version '1.22.0': must match format 1.23
/ctx/dcgm-exporter/go.mod:5: unknown directive: toolchain

Once I installed v1.23 I was able to build it.

Thanks.

nvvfedorov commented 4 weeks ago

@stas00 , The DCGM-exporter uses GO 1.22

stas00 commented 4 weeks ago

my bad, I was able to build with 1.22 as well. It's 1.21 that is insufficient.

thank you for correcting me, @nvvfedorov