Skip to content
New issue

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

Fix regression in R023, float64 has become string #11

Closed
bluecmd opened this issue Jul 27, 2024 · 1 comment
Closed

Fix regression in R023, float64 has become string #11

bluecmd opened this issue Jul 27, 2024 · 1 comment
Labels

Comments

@bluecmd
Copy link
Contributor

bluecmd commented Jul 27, 2024

E.g. new power readings:

{
  "input-power": {
    "avg": "-60",
    "instant": "-60",
    "max": "-60",
    "min": "-60"
  },
  "laser-bias-current": {
    "avg": "0",
    "instant": "0",
    "max": "0",
    "min": "0"
  },
  "output-power": {
    "avg": "-60",
    "instant": "-60",
    "max": "-60",
    "min": "-60"
  }
}

This is the same for temperatures.

W0727 21:59:43.757328   23777 main.go:167] Failed to parse metric update: failed to parse general laser metric: json: cannot unmarshal string into Go struct field .input-power.Instant of type float64
@robo-kamel
Copy link
Collaborator

🎉 This issue has been resolved in version 0.9.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants