Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into dependabot/cargo/assert_cmd-1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper authored Jun 15, 2020
2 parents 917f3a1 + 087ab5c commit adc394b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/commands/kv/namespace/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ pub fn run(
kv::validate_target(&target)?;
validate_binding(binding)?;

let title = format!("{}-{}", target.name, binding);
let mut title = format!("{}-{}", target.name, binding);
if is_preview {
title.push_str("_preview");
}
let msg = format!("Creating namespace with title \"{}\"", title);
message::working(&msg);

Expand Down

0 comments on commit adc394b

Please sign in to comment.