Return concise output in cases where there are no entries to display in a table for pvsadm purge
#698
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
What happened:
On executing pvsadm purge command across resources, it was observed that an empty table was returned in cases where there are no resources to be deleted. This can be improved to return a simple log stating there are no resources found for deletion.
What you expected to happen:
A simple log with the relevant information.
How to reproduce it (as minimally and precisely as possible):
pvsadm purge (across any resource)
Anything else we need to know?:
Environment:
pvsadm --version
):cat /etc/os-release
):uname -a
):The text was updated successfully, but these errors were encountered: