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: support influxdb v1.8 HTTP error response message #134

Merged

Commits on Jan 31, 2024

  1. fix: support influxdb v1.8 HTTP error response message

    An influxdb v1.8 HTTP error response message was not correctly transfered to the ruby InfluxError message.
    In case of an InfuxError, the reason (error message) was not traceable.
    
    How the fix works:
    - InfluxDB v1.8 and v2.x provide Error details in the json-rsp body
    - InfluxDB v2.x uses the `message` key for this
    - InfluxDB v1.8 uses the `error` key for this
    
    -> previously only `message` was supported
    -> now, in case `message` is empty, `error` is checked
    
    Refs: influxdata#133
    alxndrdude committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    53df47b View commit details
    Browse the repository at this point in the history