Deprecated commands in dcmanager are not allowed to execute
when requested, but their help was displayed.
In this commit, the dcmanager help <command> is disabled for
subcloud reinstall, subcloud-deploy show, subcloud-deploy upload,
subcloud reconfig and subcloud restore.
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
Closes-Bug: 2064294
Change-Id: I2cbe4b79d83b157413fd46337f4437f0a27717f6
Signed-off-by: Raphael Lima <email address hidden>
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud- client/ +/917493 /opendev. org/starlingx/ distcloud- client/ commit/ b4a8ec19dc60789 52a3762d7eee8d4 26d520a1f0
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b4a8ec19dc60789 52a3762d7eee8d4 26d520a1f0
Author: Raphael Lima <email address hidden>
Date: Mon Apr 29 18:13:57 2024 -0300
Disable help for deprecated commands
Deprecated commands in dcmanager are not allowed to execute
when requested, but their help was displayed.
In this commit, the dcmanager help <command> is disabled for
subcloud reinstall, subcloud-deploy show, subcloud-deploy upload,
subcloud reconfig and subcloud restore.
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
Closes-Bug: 2064294
Change-Id: I2cbe4b79d83b15 7413fd46337f443 7f0a27717f6
Signed-off-by: Raphael Lima <email address hidden>