Skip to content

Commit

Permalink
Chomp potention newline from Checkpoint haState value
Browse files Browse the repository at this point in the history
Napsty committed Nov 19, 2015
1 parent 56eeb9d commit b182956
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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 ',

0 comments on commit b182956

Please sign in to comment.