fix(influxdb): fix incompatible result sets with older versions
Thanks for the fix!
This commit is contained in:
1 parent
35f03a07b3
commit
6f480ca047
1 file changed
+3
@@ -93,6 +93,9 @@ struct InfluxJsonResult {
|
||||
#[derive(Deserialize)]
|
||||
#[allow(dead_code)]
|
||||
struct InfluxQueryResult {
|
||||
/// The `statement_id` field may not be included in older versions (such as 1.1)
|
||||
#[serde(default)]
|
||||
#[allow(dead_code)]
|
||||
statement_id: usize,
|
||||
#[serde(default)]
|
||||
#[allow(dead_code)]
|
||||
|
||||
Reference in new issue
Block a user