summaryrefslogtreecommitdiff
path: root/openstackclient/api
diff options
context:
space:
mode:
authorTang Chen <chen.tang@easystack.cn>2016-02-20 16:39:06 +0800
committerTang Chen <chen.tang@easystack.cn>2016-02-20 16:39:06 +0800
commit6af28838854ecb20c34d3ba1708b5b255155ef93 (patch)
tree002169ebbb40a7df96b32d17ddf9cbc1e2352985 /openstackclient/api
parent5a978b9ec137cece167f0164dbb1754002a81bec (diff)
downloadpython-openstackclient-6af28838854ecb20c34d3ba1708b5b255155ef93.tar.gz
Refactor: Set "project_id" for FakeXXX in a consistent style
OpenStack SDK will translate "project_id" into "tenant_id" automatically when referring to "tenant_id" attribute with the name "project_id". So when faking an object returned fron SDK, we need to fake this behavior. The original way is ugly. This patch turns it into a consistent style, and give better comments. Change-Id: I0dfb1f7552fc28eb4e7ebf5c614c9f3bde79ad80
Diffstat (limited to 'openstackclient/api')
0 files changed, 0 insertions, 0 deletions