Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions node/src/manager/commands/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ pub fn check(config: &Config, print: bool) -> Result<(), Error> {
}

pub fn pools(config: &Config, nodes: Vec<String>, 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
Expand Down
Loading