commit e55e4a5c4999186bad75491ab5be8a614d73185c
Author: Raphael Lima <email address hidden>
Date: Thu May 2 16:47:54 2024 -0300
Fix dcmanager complete execution
The implementation [1] to deprecate commands in dcmanager's client
raised an exception when dcmanager help <command> was executed
which happened to break the dcmanager complete command used during
bootstrap.
This fix solves the issue and adds the deprecation message as a
notice in the relevant commands.
Test plan:
1. PASS: Run dcmanager help <command> displays the relevant
deprecation message
2. PASS: Run dcmanager <command> displays the relevant
deprecation message and does not execute
3. PASS: Run dcmanager complete command
Closes-Bug: 2064677
Change-Id: Icbe6e6f5e8145bb786d4b6aebb804416959cbb67
Signed-off-by: Raphael Lima <email address hidden>
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud- client/ +/918010 /opendev. org/starlingx/ distcloud- client/ commit/ e55e4a5c4999186 bad75491ab5be8a 614d73185c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit e55e4a5c4999186 bad75491ab5be8a 614d73185c
Author: Raphael Lima <email address hidden>
Date: Thu May 2 16:47:54 2024 -0300
Fix dcmanager complete execution
The implementation [1] to deprecate commands in dcmanager's client
raised an exception when dcmanager help <command> was executed
which happened to break the dcmanager complete command used during
bootstrap.
This fix solves the issue and adds the deprecation message as a
notice in the relevant commands.
[1]: https:/ /review. opendev. org/c/starlingx /distcloud- client/ +/917493
Test plan:
1. PASS: Run dcmanager help <command> displays the relevant
deprecation message
2. PASS: Run dcmanager <command> displays the relevant
deprecation message and does not execute
3. PASS: Run dcmanager complete command
Closes-Bug: 2064677
Change-Id: Icbe6e6f5e8145b b786d4b6aebb804 416959cbb67
Signed-off-by: Raphael Lima <email address hidden>