Skip to content

Commit ab0689a

Browse files
committed
bump to 2.5.1
1 parent 512ab76 commit ab0689a

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wait"
3-
version = "2.5.0"
3+
version = "2.5.1"
44
authors = ["ufoscout <[email protected]>"]
55
edition = "2018"
66

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ pub fn wait(sleep: &mut crate::sleeper::Sleeper, config: &Config, on_timeout: &m
3939
while !port_check::is_port_reachable(&host.trim().to_string()) {
4040
println!("Host {} not yet available", host);
4141
if sleep.elapsed(config.timeout) {
42-
//if (start.elapsed().as_secs() > wait_timeout) {
4342
println!(
4443
"Timeout! After {} seconds some hosts are still not reachable",
4544
config.timeout

0 commit comments

Comments
 (0)