Skip to content

Commit

Permalink
Increase version
Browse files Browse the repository at this point in the history
  • Loading branch information
windsource committed Nov 12, 2023
1 parent 0b6009e commit dd7df6e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 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,7 +1,7 @@
[package]
name = "picus"
description ="Dynamically creates agent for Woodpecker CI in the cloud"
version = "0.6.0"
version = "0.6.1"
edition = "2021"
license = "MIT"

Expand Down
8 changes: 6 additions & 2 deletions src/strategy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,13 @@ impl Strategy {
}

info!(
"Agent is {}running with {} jobs and {} pending jobs for that agent",
"Agent is {}running{}. {} pending job(s) for that agent",
if agent_is_running { "" } else { "not " },
running_count,
if agent_is_running {
format!(" with {} job(s)", running_count)
} else {
"".to_string()
},
pending_count
);

Expand Down

0 comments on commit dd7df6e

Please sign in to comment.