mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #51133 from 5uper5hoot/issue-#50849
Fixes mysql server version comparison.
This commit is contained in:
commit
dda1ebbabc
1 changed files with 1 additions and 1 deletions
|
@ -810,7 +810,7 @@ def version(**connection_args):
|
|||
return ''
|
||||
|
||||
try:
|
||||
return cur.fetchone()[0]
|
||||
return salt.utils.data.decode(cur.fetchone()[0])
|
||||
except IndexError:
|
||||
return ''
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue