Go to file
Hugo Brito 958b53b3a8 Improve strategy error messages in dcmanager-api
This commit adds the strategy type in the exception message for
the following commands:
dcmanager <strategy-type>-strategy create/abort/apply/delete

Test Plan:
1. Test the `dcmanager <strategy_type>-strategy create/delete/abort/apply` commands for the following strategies:
- fw-update-strategy, kube-rootca-update-strategy, kube-upgrade-strategy, patch-strategy, prestage-strategy, and upgrade-strategy.
2. Validate that the exception message includes the <strategy_type> and the reason that the command failed. For example:
- "Unable to delete strategy of type 'firmware': Not found".

Closes-Bug: 2026604

Change-Id: I3ecf920e5688e3d51f2172aa20d8e2c12700b4b2
Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
2023-07-11 20:17:07 +00:00
2018-09-25 08:18:08 -07:00
2019-04-19 19:52:44 +00:00
2018-08-07 11:51:21 -04:00
2023-04-28 12:38:50 -04:00
2022-11-21 16:58:49 +00:00
2019-03-15 10:56:03 -05:00
Description
StarlingX Distributed Cloud
40 MiB
Languages
Python 95.2%
Shell 4.7%
Makefile 0.1%