Remove error_description field from B&R CLI outputs
Stops the error_description field from being returned as part of the
subcloud-backup create/restore command output.
Test plan:
PASS: Execute 'dcmanager subcloud-backup create ...' and verify that
the error_description is not part of the output message;
PASS: Execute 'dcmanager subcloud-backup restore ...' and verify that
the error_description is not part of the output message;
PASS: Execute 'dcmanager subcloud errors <subcloud>' and verify that
the error_description is still returned correctly.
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud- client/ +/865019 /opendev. org/starlingx/ distcloud- client/ commit/ 6da141267ea01fb 3bed7a383b9584d 4f5c0e705b
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 6da141267ea01fb 3bed7a383b9584d 4f5c0e705b
Author: Gustavo Herzmann <email address hidden>
Date: Fri Nov 18 09:52:34 2022 -0300
Remove error_description field from B&R CLI outputs
Stops the error_description field from being returned as part of the
subcloud-backup create/restore command output.
Test plan:
PASS: Execute 'dcmanager subcloud-backup create ...' and verify that
the error_description is not part of the output message;
PASS: Execute 'dcmanager subcloud-backup restore ...' and verify that
the error_description is not part of the output message;
PASS: Execute 'dcmanager subcloud errors <subcloud>' and verify that
the error_description is still returned correctly.
Closes-Bug: #1997023
Signed-off-by: Gustavo Herzmann <email address hidden> f6fb3be8c33c58f 0f19b88e5aa
Change-Id: Ic70c42d9d107b4