Use parent printMsg

This commit is contained in:
Isaac Connor 2020-12-21 12:17:02 -05:00
parent a855656b88
commit c9ac5dff62
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ sub sendCmd {
my $self = shift;
my $cmd = shift;
my $result = undef;
printMsg($cmd, 'Tx');
$this->printMsg($cmd, 'Tx');
my $req = HTTP::Request->new(GET=>'http://'.$self->{Monitor}->{ControlAddress}.'/'.$cmd);
my $res = $self->{ua}->request($req);