destroy: Fix safe port deletion in case onlx OS_PROJECT_NAME is set
Version Control Information
Source branch: fix/safe-port-deletion
Target branch: devel
Commits:
* destroy: Fix safe port deletion
45ac44036db0e1a34f1bdf52f0f567764efc8584 introduced a safe guard so
that port and floating ip deletion depends on $OS_PROJECT_ID. OpenRCs
downloaded through the dashboard, however, may default to provide only
$OS_PROJECT_NAME. This commit adds compatibility for such cases so that
only one of $OS_PROJECT_ID and $OS_PROJECT_NAME need to be set.
Description
Related !921 (merged)
Merge Prerequisites
-
MR title (and description) are descriptive -
Code is readable and syntactically correct -
Code is understandable -
Documentation has been updated, if necessary -
Commit messages look good -
Release note file added in latest commit
As a developer: please do not tick these boxes yourself. As a reviewer: please get yourself a hot cold beverage.
Edited by Silvio Ankermann