Launchpad

Showing application credentials that don't exist does not raise an error

Bug #2126565 reported by Matt Anson

This bug affects 1 person

Affects Status Importance Assigned to Milestone
python-openstackclient

Fix Released

Undecided

Unassigned

Bug Description

Since python- openstackclient ==8.2.0, running "application credential show" on a non-existent application credential returns an empty, formatted result and no errors:

(osc) [matta@matt-top]$ openstack application credential show i-dont-exist
+------ ------- -+----- --+
| Field | Value |
+------ ------- -+----- --+
| ID | |
| Name | |
| Description | |
| Project ID | |
| Roles | |
| Unrestricted | |
| Access Rules | |
| Expires At | |
+------ ------- -+----- --+
(osc) [matta@matt-top]$ echo $?
0

This action should raise an exception.

Read the original on bugs.launchpad.net ↗