InfluxDB_database: Make the path argument conditional on the InfluxDB version (#1126) (#1236)

Co-authored-by: Mathias Ettinger <mathias.ettinger@viveris.f>
(cherry picked from commit ce0f327875)

Co-authored-by: Mathias Ettinger <mathias@mettinger.fr>
This commit is contained in:
patchback[bot]
2020-11-06 13:48:18 +01:00
committed by GitHub
parent f1ca1ccd89
commit 24f973a9d1
4 changed files with 14 additions and 4 deletions

View File

@@ -40,6 +40,7 @@ options:
path:
description:
- The path on which InfluxDB server is accessible
- Only available when using python-influxdb >= 5.1.0
type: str
version_added: '0.2.0'
validate_certs:
@@ -60,6 +61,7 @@ options:
description:
- Number of retries client will try before aborting.
- C(0) indicates try until success.
- Only available when using python-influxdb >= 4.1.0
type: int
default: 3
use_udp: