Skip to content

Commit

Permalink
bump to 2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ufoscout committed Jul 8, 2019
1 parent 512ab76 commit ab0689a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wait"
version = "2.5.0"
version = "2.5.1"
authors = ["ufoscout <ufoscout@gmail.com>"]
edition = "2018"

Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ pub fn wait(sleep: &mut crate::sleeper::Sleeper, config: &Config, on_timeout: &m
while !port_check::is_port_reachable(&host.trim().to_string()) {
println!("Host {} not yet available", host);
if sleep.elapsed(config.timeout) {
//if (start.elapsed().as_secs() > wait_timeout) {
println!(
"Timeout! After {} seconds some hosts are still not reachable",
config.timeout
Expand Down

0 comments on commit ab0689a

Please sign in to comment.