
23 Sep
2021
23 Sep
'21
12:13 p.m.
On a Thursday in 2021, Kristina Hanicova wrote:
This patch includes: * fix of a mistake in cmdMigrateSetMaxDowntime() - function returned false when it should have returned true
Ideally, refactors should not alter behavior, so fixes should be separated. Jano
* use of an early return in case of an error * removal of unnecessary variables and extra labels * returning value directly
Signed-off-by: Kristina Hanicova <khanicov@redhat.com> --- tools/virsh-domain.c | 250 +++++++++++++++++-------------------------- 1 file changed, 98 insertions(+), 152 deletions(-)