
21 Feb
2025
21 Feb
'25
2:36 p.m.
On 2/20/25 23:26, Ján Tomko wrote:
Similarly to `desc` and `net-desc`, return an empty string if there is no metadata to be returned.
https://issues.redhat.com/browse/RHEL-27172
Signed-off-by: Ján Tomko <jtomko@redhat.com> --- tools/virsh-domain.c | 10 ++++++++-- tools/virsh-network.c | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-)
Code-wise this is okay. What I worry about is change in error behavior. I mean, if somebody checks for exit value they'll be surprised why their script stopped working. Michal