diff --git a/Cargo.lock b/Cargo.lock index 889a0a7..4cf10d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -194,7 +194,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "ecs-run" -version = "0.1.0" +version = "0.1.1" dependencies = [ "clap 2.31.2 (registry+https://github.com/rust-lang/crates.io-index)", "rusoto_core 0.32.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 4969817..e3d0d08 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ecs-run" -version = "0.1.0" +version = "0.1.1" authors = ["Erik Dalén "] [dependencies] diff --git a/README.md b/README.md index 74af295..c15d67e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This can for example be used to run a rake task on a Rails service in ECS. ## Usage ``` -ecs-run 0.1.0 +ecs-run 0.1.1 Erik Dalén USAGE: diff --git a/src/main.rs b/src/main.rs index dadfb83..dd61480 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,7 +12,7 @@ use std::{thread, time}; fn main() { let matches = App::new("ecs-run") - .version("0.1.0") + .version("0.1.1") .author("Erik Dalén ") .setting(clap::AppSettings::TrailingVarArg) .arg( @@ -167,7 +167,7 @@ fn get_container( Some(n) => containers .iter() .find(|c| c.name == Some(n.to_string())) - .expect(format!("No container called {} found in task", &n)) + .expect(&format!("No container called {} found in task", &n)) .clone(), None => { if containers.len() != 1 {