Skip to content

Commit

Permalink
Merge pull request #179 from kate-goldenring/update-unlink-kv-command…
Browse files Browse the repository at this point in the history
…-name

fix(KV): update unlink kv command to match link kv command
  • Loading branch information
kate-goldenring authored Jan 31, 2024
2 parents 8c1224a + 00ec4c0 commit f2d9d34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use uuid::Uuid;
pub enum LinkCommand {
/// Link an app to a SQLite database
Sqlite(SqliteLinkCommand),
/// Link an app to a Key Value Store
/// Link an app to a key value store
#[clap(alias = "kv")]
KeyValue(KeyValueStoreLinkCommand),
}
Expand Down Expand Up @@ -234,7 +234,7 @@ pub enum UnlinkCommand {
Sqlite(SqliteUnlinkCommand),
/// Unlink an app from a key value store
#[clap(alias = "kv")]
KeyValueStore(KeyValueStoreUnlinkCommand),
KeyValue(KeyValueStoreUnlinkCommand),
}

impl UnlinkCommand {
Expand All @@ -245,7 +245,7 @@ impl UnlinkCommand {
client_and_app_id(cmd.common.deployment_env_id.as_deref(), &cmd.app).await?;
cmd.unlink(client, app_id).await
}
Self::KeyValueStore(cmd) => {
Self::KeyValue(cmd) => {
let (client, app_id) =
client_and_app_id(cmd.common.deployment_env_id.as_deref(), &cmd.app).await?;
cmd.unlink(client, app_id).await
Expand Down

0 comments on commit f2d9d34

Please sign in to comment.