Skip to content

Commit

Permalink
Merge pull request #20 from pavelkim/dev
Browse files Browse the repository at this point in the history
[Fix] local variable declarations in generate_prometheus_metrics function were missing
  • Loading branch information
pavelkim authored Nov 23, 2021
2 parents efa7a07 + 789a312 commit da57bf6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.1
1.6.2
4 changes: 4 additions & 0 deletions check_certificates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ generate_prometheus_metrics() {
[[ -z "${TODAY_TIMESTAMP}" ]] && error "TODAY_TIMESTAMP not set!"

local metrics_name='check_certificates_expiration'
local full_result
local full_result_item
local full_result_item_parts
local metrics_item

[[ ! -z "$*" ]] && full_result=( "$@" ) || error "Formatted result list not set!"

Expand Down

0 comments on commit da57bf6

Please sign in to comment.