[fix] Correct count print in mysql_conn

This commit is contained in:
William Wernert
2020-11-30 11:32:43 -05:00
parent ec81e8565f
commit 8964444eeb

View File

@@ -37,7 +37,7 @@ def mysql_conn(retry):
user='root',
passwd=__salt__['pillar.get']('secrets:mysql')
)
log.debug(f'Connected to MySQL server on {mainip} after {i} attempts.')
log.debug(f'Connected to MySQL server on {mainip} after {i+1} attempts.')
db.query("""SELECT 1;""")
log.debug(f'Successfully completed query against MySQL server on {mainip}')