Skip to content

Commit

Permalink
Merge pull request lausser#45 from Napsty/checkpoint-chomp
Browse files Browse the repository at this point in the history
Chomp potential newline from Checkpoint haState value
  • Loading branch information
lausser committed Nov 19, 2015
2 parents 56eeb9d + b182956 commit c42efc5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ sub init {

sub check {
my $self = shift;
chomp($self->{haState});
$self->add_info('checking ha');
$self->add_info(sprintf 'ha %sstarted, role is %s, status is %s',
$self->{haStarted} eq 'yes' ? '' : 'not ',
Expand Down

0 comments on commit c42efc5

Please sign in to comment.