scross01 / prometheus-klipper-exporter

Prometheus Exporter for Klipper
MIT License
48 stars 10 forks source link

Fix unmarshalling of `total_jobs` value #27

Closed jangrewe closed 3 months ago

jangrewe commented 3 months ago

This should fix the error json: cannot unmarshal number 49.0 into Go struct field .result.job_totals.total_jobs of type int64 that happens with the current version of Moonraker.

See https://github.com/scross01/prometheus-klipper-exporter/issues/26