Comment 6 for bug 1333494

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/102095
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a8b805d3a3106486ad663ab2b1c6be6525465c0b
Submitter: Jenkins
Branch: master

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

    Change-Id: I262b4b26c94dba003e80bda2f38d2e985ef9f220
    Partial-Bug: #1333494