Enhance error handling and doc of get_driver_name and get_driver_version

This commit is contained in:
Laurent Indermuehle 2023-01-23 15:30:40 +01:00
parent ff20c8ce18
commit 240729d566
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
2 changed files with 21 additions and 6 deletions

View file

@ -207,13 +207,14 @@ slave_hosts:
sample:
- { "2": { "Host": "", "Master_id": 1, "Port": 3306 } }
connector_name:
description: The python connector name used by the plugins
description: Name of the python connector used by the plugin. When the driver is not identified, returns C(Unknown).
returned: always
type: str
sample:
- "pymysql"
- "MySQLdb"
connector_version:
description: The python connector version used by the plugins
description: Version of the python connector used by the plugin. When the driver is not identified, returns C(Unknown).
returned: always
type: str
sample: