Skip to content

Commit

Permalink
Attempt to fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomozart authored Jan 20, 2025
1 parent c1f7943 commit c15408e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions lib/GLPI/Agent/Task/NetDiscovery.pm
Original file line number Diff line number Diff line change
Expand Up @@ -621,18 +621,18 @@ sub _sendMessage {

my $message;
if (defined($self->{config}->{tag}) && length($self->{config}->{tag})) {
$message = GLPI::Agent::XML::Query->new(
deviceid => $self->{deviceid} || 'foo',
query => 'NETDISCOVERY',
tag => $self->{config}->{'tag'},
content => $content
);
$message = GLPI::Agent::XML::Query->new(
deviceid => $self->{deviceid} || 'foo',
query => 'NETDISCOVERY',
tag => $self->{config}->{'tag'},
content => $content
);
} else {
$message = GLPI::Agent::XML::Query->new(
deviceid => $self->{deviceid} || 'foo',
query => 'NETDISCOVERY',
content => $content
);
$message = GLPI::Agent::XML::Query->new(
deviceid => $self->{deviceid} || 'foo',
query => 'NETDISCOVERY',
content => $content
);
}

if ($self->{target}->isType('local')) {
Expand Down

0 comments on commit c15408e

Please sign in to comment.