fix: Mysql has set a gateway, and the command execution failed.

pull/16134/head
wangruidong 2025-10-11 17:13:06 +08:00 committed by 老广
parent cde182c015
commit f82f31876a
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class JMSPermedInventory(JMSInventory):
host['login_db'] = asset.spec_info.get('db_name', '')
host['ansible_python_interpreter'] = sys.executable
if gateway:
host['gateway'] = {
host['jms_gateway'] = {
'address': gateway.address, 'port': gateway.port,
'username': gateway.username, 'secret': gateway.password,
'private_key_path': gateway.private_key_path