python-muranoclient/muranoclient
Kirill Zaitsev 22a28daa14 Only delete 'owned' packages for --exists-action update
Due to the fact that fqns are no longer unique update might currently
not work correctly, because it searches for package to delete by fqn.
To improve this situation this patch attempts to search for the package
in the current tenant and deletes it by id.
In case it is not found - raise the error, cause it most likely means
that the package is in another tennant and deleting it automatically is
dangerous.
This change relies on 'owned' parameter in api sorting, fixed
in https://review.openstack.org/#/c/177796/

Change-Id: Iee04ea65f5c4937ded4e259e3c0cb64189801da2
Closes-Bug: #1448135
2015-04-29 17:55:53 +03:00
..
common Removed default Content-Type HTTP request header 2015-03-24 17:34:40 +03:00
data Update package composing command 2015-04-10 16:11:59 +00:00
openstack Use modules from oslo istead of openstack-common 2015-01-20 12:19:23 +00:00
tests Only delete 'owned' packages for --exists-action update 2015-04-29 17:55:53 +03:00
v1 Only delete 'owned' packages for --exists-action update 2015-04-29 17:55:53 +03:00
__init__.py Add package-create command 2014-07-03 19:32:11 +04:00
client.py KEERO-320 - Fix all occurrences of old names (keero, glazier) in python client 2013-04-26 02:00:15 +04:00
shell.py Add bash-completion subparser to shell client 2015-04-02 16:46:26 +03:00
version.py Cherry-pick following change-ids from release-0.2. 2013-09-03 15:15:02 +04:00