[Bps-public-commit] app-aws-cloudwatch-monitor branch 0.03/update-meta-data-caching-writes updated. a77c977309e66ce3138d24213371eeb43dee2607
BPS Git Server
git at git.bestpractical.com
Fri May 20 14:46:53 UTC 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "app-aws-cloudwatch-monitor".
The branch, 0.03/update-meta-data-caching-writes has been updated
via a77c977309e66ce3138d24213371eeb43dee2607 (commit)
from bf14385889a4699ca0ea58731bd419e548e0aabd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a77c977309e66ce3138d24213371eeb43dee2607
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Fri May 20 09:46:35 2022 -0500
Add warning if meta-data resource returns empty
diff --git a/lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm b/lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm
index bdbcaa4..fdfebe7 100644
--- a/lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm
+++ b/lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm
@@ -137,6 +137,9 @@ sub get_meta_data {
write_meta_data( $resource, $data_value );
}
}
+ else {
+ warn "meta-data resource $resource returned empty\n";
+ }
}
return $meta_data;
-----------------------------------------------------------------------
Summary of changes:
lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm | 3 +++
1 file changed, 3 insertions(+)
hooks/post-receive
--
app-aws-cloudwatch-monitor
More information about the Bps-public-commit
mailing list