Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid trying to get metrics from non-running pod. (#1911)
* Avoid trying to get metrics from non-running pod. If the importer pod is not running, the attempt to get metrics can hit a 30-second HTTP timeout. For multi-stage imports, this causes the transition to "Paused" to take much longer than it needs to. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Return nil instead of new error. Signed-off-by: Matthew Arnold <marnold@redhat.com>
- Loading branch information