[API][ADMIN_API]: Fix unicode problem with MySQL and gearman

Change-Id: I6ffd7d407ab5a6450d06601b26f97e122c996c6e
This commit is contained in:
Andrew Hutchings
2013-09-13 15:45:40 +01:00
parent 55b81ce291
commit 9f0e39c1a6

View File

@@ -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):