sapcc / manila

Shared filesystem management project for OpenStack.
http://openstack.org
Apache License 2.0
0 stars 2 forks source link

fix share server migration KeyError #183

Closed Carthaca closed 2 months ago

Carthaca commented 3 months ago

Old share servers may not have the 'ports' in the backend_details. The old information is not used, it is just to make sure the key is deleted before overwriting.

Change-Id: I8346a424f9d769eedf4f42e96d6918a5cb92585f

Also see https://docs.python.org/3/library/stdtypes.html#dict.pop