Skip to content

Commit

Permalink
fix: update version prefix for ant binary
Browse files Browse the repository at this point in the history
The versioning output was changed for this binary.
  • Loading branch information
jacderida committed Dec 17, 2024
1 parent 4b86135 commit 95baf41
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/inventory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,11 @@ impl DeploymentInventoryService {
let random_uploader_vm = uploader_vms
.choose(&mut rand::thread_rng())
.ok_or_else(|| eyre!("No uploader VMs available to retrieve ant version"))?;
Some(self.get_bin_version(&random_uploader_vm.vm, "ant --version", "ant-cli ")?)
Some(self.get_bin_version(
&random_uploader_vm.vm,
"ant --version",
"Autonomi Client v",
)?)
} else {
None
};
Expand Down

0 comments on commit 95baf41

Please sign in to comment.