[Bps-public-commit] app-aws-cloudwatch-monitor branch 0.03/update-meta-data-caching-writes updated. f8f1ade35666fbb86fb45efcafc395e8b5a1d3e4

BPS Git Server git at git.bestpractical.com
Fri May 20 21:31:05 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  f8f1ade35666fbb86fb45efcafc395e8b5a1d3e4 (commit)
       via  373febd61ba8e393ae29a926624eeb424ad98684 (commit)
      from  5083cec0c7bfdfc6b65671aa32c5756e1cf95b67 (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 f8f1ade35666fbb86fb45efcafc395e8b5a1d3e4
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Fri May 20 16:30:42 2022 -0500

    fixup - WIP - refactor get_meta_data to fallback t

diff --git a/lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm b/lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm
index 4d7259d..cc65d1e 100644
--- a/lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm
+++ b/lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm
@@ -188,7 +188,7 @@ sub read_meta_data {
                 warn "open: unable to read meta data from filesystem: $!\n";
                 return;
             }
-            while ( my $line = <$file_fh> )
+            while ( my $line = <$file_fh> ) {
                 $data_value .= $line;
             }
             close $file_fh;
commit 373febd61ba8e393ae29a926624eeb424ad98684
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Fri May 20 16:30:20 2022 -0500

    fixup - Add test dep for Test::Warnings

diff --git a/Makefile.PL b/Makefile.PL
index 0517062..9370602 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -29,7 +29,7 @@ WriteMakefile(
         'File::Spec' => 0,
         'Test::Exception' => '0.42',  # recommended by Test2
         'Test::More' => '0.98',  # for subtest()
-        'Test::Warnings',
+        'Test::Warnings' => 0,
     },
     PREREQ_PM => {
         'base' => 0,
-----------------------------------------------------------------------

Summary of changes:
 Makefile.PL                                        | 2 +-
 lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
app-aws-cloudwatch-monitor


More information about the Bps-public-commit mailing list