Skip to content

Commit dd7df6e

Browse files
committed
Increase version
1 parent 0b6009e commit dd7df6e

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
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,7 +1,7 @@
11
[package]
22
name = "picus"
33
description ="Dynamically creates agent for Woodpecker CI in the cloud"
4-
version = "0.6.0"
4+
version = "0.6.1"
55
edition = "2021"
66
license = "MIT"
77

src/strategy.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,13 @@ impl Strategy {
9090
}
9191

9292
info!(
93-
"Agent is {}running with {} jobs and {} pending jobs for that agent",
93+
"Agent is {}running{}. {} pending job(s) for that agent",
9494
if agent_is_running { "" } else { "not " },
95-
running_count,
95+
if agent_is_running {
96+
format!(" with {} job(s)", running_count)
97+
} else {
98+
"".to_string()
99+
},
96100
pending_count
97101
);
98102

0 commit comments

Comments
 (0)