Skip to content
Merged
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
2 changes: 2 additions & 0 deletions crates/cli/src/local_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ impl LocalRuntime {
}

pub fn stop(&self, instance_name: &str) -> Result<bool> {
Self::check_available(self.runtime)?;
let name = self.container_name(instance_name);
let removed_helix = self.remove_container(&name)?;
let removed_disk_resources = self.remove_disk_resources(instance_name, false)?;
Expand All @@ -325,6 +326,7 @@ impl LocalRuntime {
return self.run_detached(instance_name, config);
}

Self::check_available(self.runtime)?;
let name = self.container_name(instance_name);
let output = self
.runtime_command()
Expand Down
Loading