summaryrefslogtreecommitdiff
path: root/openstackclient/tests
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2022-11-30 12:32:50 +0000
committerStephen Finucane <sfinucan@redhat.com>2022-11-30 12:35:17 +0000
commit85254fbeb4bc30a0e947de9557a87ff1e7e2a3b2 (patch)
tree177a3911e2c35f13e72b17b2483b998a8d8ae4c7 /openstackclient/tests
parent6cd72f61826a1af79fe9244240d95283203cd03b (diff)
downloadpython-openstackclient-85254fbeb4bc30a0e947de9557a87ff1e7e2a3b2.tar.gz
Revert "Don't look up project by id if given id"
This reverts commit 042be7c7fe89f5a1a190af90d5980205d995941b. This solution worked but it was confusing. The issue that the author was seeing was presumably due to users not being able to list projects but in theory the 'openstackclient.image.common.find_project' function that was being called here should have already handle this. It transpires however that there was a bug in this and we weren't correctly handling HTTP 403 errors correctly. This bug has since been fixed in change I2ea2def607ec5be112e42d53a1e660fef0cdd69c meaning this change is no longer necessary. Remove it and simplify the code somewhat. Change-Id: I108efec2c8deda50fcb9cc84f313602bed2ac15c Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'openstackclient/tests')
0 files changed, 0 insertions, 0 deletions