mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
The value of err
needs to be "fetched" first.
This commit is contained in:
parent
4e7894d70f
commit
9f134a9308
@ -241,6 +241,7 @@ def absent(name,
|
||||
ret['changes'][name] = 'Absent'
|
||||
return ret
|
||||
else:
|
||||
err = _get_mysql_error()
|
||||
if err is not None:
|
||||
ret['comment'] = err
|
||||
ret['result'] = False
|
||||
|
Loading…
Reference in New Issue
Block a user