[API][ADMIN_API]: Fix unicode problem with MySQL and gearman
Change-Id: I6ffd7d407ab5a6450d06601b26f97e122c996c6e
This commit is contained in:
@@ -37,7 +37,7 @@ gearman_workers = [
|
||||
|
||||
def submit_job(job_type, host, data, lbid):
|
||||
logger = logging.getLogger(__name__)
|
||||
eventlet.spawn_n(client_job, logger, job_type, host, data, lbid)
|
||||
eventlet.spawn_n(client_job, logger, job_type, str(host), data, lbid)
|
||||
|
||||
|
||||
def submit_vip_job(job_type, device, vip):
|
||||
|
||||
Reference in New Issue
Block a user