Fix worker test client message.

Update the JSON message used by the test client for the latest
changes.

Change-Id: I1b811621f5593dd9155d9be0f874671b4e7a536f
This commit is contained in:
David Shrewsbury 2012-11-13 10:56:08 -05:00
parent 5d8adb3ff8
commit 16795aac6f

View File

@ -44,7 +44,10 @@ def main():
data = """ data = """
{ {
"hpcs_action": "create", "hpcs_action": "create",
"loadbalancers": [
{
"name": "a-new-loadbalancer", "name": "a-new-loadbalancer",
"protocol": "http",
"nodes": [ "nodes": [
{ {
"address": "10.1.1.1", "address": "10.1.1.1",
@ -56,6 +59,8 @@ def main():
} }
] ]
} }
]
}
""" """
# Worker class expects the data as a JSON object, not string # Worker class expects the data as a JSON object, not string