Open kishen-v opened 10 hours ago
/good-first-issue
@kishen-v: This request has been marked as suitable for new contributors.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue
command.
/assign
What happened:
An instant first
tick
is preferred over long running operations, which may have a particular condition satisfied already. https://github.com/ppc64le-cloud/pvsadm/blob/d2d3bd1406b9b8ce6a647c8d00db6b7bf58ffd67/pkg/utils/utils.go#L59-L71What you expected to happen: The condition to be checked once when the function is invoked, to cut down on waiting for a condition that may already be achieved.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?: https://stackoverflow.com/questions/32705582/how-to-get-time-tick-to-tick-immediately
Environment:
pvsadm --version
):cat /etc/os-release
):uname -a
):