diff --git a/node/src/manager/commands/config.rs b/node/src/manager/commands/config.rs index 8b6d36e9afa..f8daaf40b83 100644 --- a/node/src/manager/commands/config.rs +++ b/node/src/manager/commands/config.rs @@ -66,6 +66,9 @@ pub fn check(config: &Config, print: bool) -> Result<(), Error> { } pub fn pools(config: &Config, nodes: Vec, shard: bool) -> Result<(), Error> { + if nodes.is_empty() { + bail!("Please specify at least one node"); + } // Quietly replace `-` with `_` in node names to make passing in pod names // from k8s less annoying let nodes: Vec<_> = nodes