From 595def148a19f31e07660729a68ec5830b4626bd Mon Sep 17 00:00:00 2001 From: Paolo Di Tommaso Date: Mon, 18 Nov 2024 09:14:57 +0100 Subject: [PATCH] Fix isContainerReady when wave is disabled (#5509) [ci fast] Signed-off-by: Paolo Di Tommaso --- .../seqera/wave/plugin/resolver/WaveContainerResolver.groovy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/nf-wave/src/main/io/seqera/wave/plugin/resolver/WaveContainerResolver.groovy b/plugins/nf-wave/src/main/io/seqera/wave/plugin/resolver/WaveContainerResolver.groovy index 6d57c7ccd1..69521b9e78 100644 --- a/plugins/nf-wave/src/main/io/seqera/wave/plugin/resolver/WaveContainerResolver.groovy +++ b/plugins/nf-wave/src/main/io/seqera/wave/plugin/resolver/WaveContainerResolver.groovy @@ -129,6 +129,9 @@ class WaveContainerResolver implements ContainerResolver { @Override boolean isContainerReady(String key) { - return client().isContainerReady(key) + final c=client() + return c.enabled() + ? c.isContainerReady(key) + : defaultResolver.isContainerReady(key) } }