When using Cumin as a library, if the execute() method is called in the ClusterShell worker with a target that has no hosts, cumin will eventually raise a ZeroDivisionError when calculating the success ratio.
It should instead log a warning and return earlier.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Transports: better handling of empty list | operations/software/cumin | master | +18 -4 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 375769 had a related patch set uploaded (by Volans; owner: Volans):
[operations/software/cumin@master] Transports: better handling of empty list
Comment Actions
Change 375769 merged by jenkins-bot:
[operations/software/cumin@master] Transports: better handling of empty list