commit a8b805d3a3106486ad663ab2b1c6be6525465c0b
Author: He Jie Xu <email address hidden>
Date: Tue Jun 24 11:20:26 2014 +0800
Fix agent_id with string type in API samples files for os-agents v2
The agent_id should be integer for agent create and index. But in
the api sample file it is string type. It's because the api sample
tests provide agent_id with string type in fake data. This patch
correct the api sample files and tests.
For agent update, it use agent_id that passed from url, make the
response use string for agent_id. We can't fix this problem for
back-compatibility. This will be fix in the future after v3 API
expose by micro-version
Reviewed: https:/ /review. openstack. org/102095 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a8b805d3a31 06486ad663ab2b1 c6be6525465c0b
Committed: https:/
Submitter: Jenkins
Branch: master
commit a8b805d3a310648 6ad663ab2b1c6be 6525465c0b
Author: He Jie Xu <email address hidden>
Date: Tue Jun 24 11:20:26 2014 +0800
Fix agent_id with string type in API samples files for os-agents v2
The agent_id should be integer for agent create and index. But in
the api sample file it is string type. It's because the api sample
tests provide agent_id with string type in fake data. This patch
correct the api sample files and tests.
For agent update, it use agent_id that passed from url, make the compatibility. This will be fix in the future after v3 API
response use string for agent_id. We can't fix this problem for
back-
expose by micro-version
Change-Id: I262b4b26c94dba 003e80bda2f38d2 e985ef9f220
Partial-Bug: #1333494