corrected $this to $self

This commit is contained in:
gmanic 2021-02-03 12:53:33 +01:00 committed by GitHub
parent c35869fd30
commit 037f197f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
$this->printMsg($cmd, 'Tx');
$self->printMsg($cmd, 'Tx');
my $req = HTTP::Request->new(GET=>'http://'.$self->{Monitor}->{ControlAddress}.'/'.$cmd);
my $res = $self->{ua}->request($req);