aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2023-01-05 11:09:25 +0000
committerJonathan Davies <jpds@protonmail.com>2023-01-05 11:09:25 +0000
commitcb07e6145cf26a9bbbe44fd06090a099030d0750 (patch)
tree94ad886dacb0dbbd6394b05d37f79763e5c02bea /src/garage/cli
parent80e4abb98dfbf2e88414a8b28e8c9134fa0a65e7 (diff)
downloadgarage-cb07e6145cf26a9bbbe44fd06090a099030d0750.tar.gz
garage-cb07e6145cf26a9bbbe44fd06090a099030d0750.zip
Changed all instances of assignation to assignment.
Diffstat (limited to 'src/garage/cli')
-rw-r--r--src/garage/cli/layout.rs4
-rw-r--r--src/garage/cli/structs.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/garage/cli/layout.rs b/src/garage/cli/layout.rs
index 27bb7eb8..cf8631a4 100644
--- a/src/garage/cli/layout.rs
+++ b/src/garage/cli/layout.rs
@@ -210,7 +210,7 @@ pub async fn cmd_show_layout(
v + 1)
}
Err(e) => {
- println!("Error while trying to compute the assignation: {}", e);
+ println!("Error while trying to compute the assignment: {}", e);
println!("This new layout cannot yet be applied.");
println!(
"You can also revert all proposed changes with: garage layout revert --version {}",
@@ -236,7 +236,7 @@ pub async fn cmd_apply_layout(
send_layout(rpc_cli, rpc_host, layout).await?;
- println!("New cluster layout with updated role assignation has been applied in cluster.");
+ println!("New cluster layout with updated role assignment has been applied in cluster.");
println!("Data will now be moved around between nodes accordingly.");
Ok(())
diff --git a/src/garage/cli/structs.rs b/src/garage/cli/structs.rs
index 531501bf..dcb9fef9 100644
--- a/src/garage/cli/structs.rs
+++ b/src/garage/cli/structs.rs
@@ -17,7 +17,7 @@ pub enum Command {
#[structopt(name = "node", version = garage_version())]
Node(NodeOperation),
- /// Operations on the assignation of node roles in the cluster layout
+ /// Operations on the assignment of node roles in the cluster layout
#[structopt(name = "layout", version = garage_version())]
Layout(LayoutOperation),