Skip to content

Commit

Permalink
drop FI::HTTP::Client::Fusion
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonéri Le Bouder committed Jul 27, 2012
1 parent 2f76bcd commit 5ce560f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 25 deletions.
4 changes: 2 additions & 2 deletions lib/FusionInventory/Agent.pm
Expand Up @@ -10,7 +10,7 @@ use File::Glob;
use IO::Handle;

use FusionInventory::Agent::Config;
use FusionInventory::Agent::HTTP::Client::Fusion;
use FusionInventory::Agent::HTTP::Client;
use FusionInventory::Agent::Logger;
use FusionInventory::Agent::Scheduler;
use FusionInventory::Agent::Storage;
Expand Down Expand Up @@ -80,7 +80,7 @@ sub init {

$self->_saveState();

my $client = FusionInventory::Agent::HTTP::Client::Fusion->new(
my $client = FusionInventory::Agent::HTTP::Client->new(
logger => $self->{logger},
user => $self->{config}->{user},
password => $self->{config}->{password},
Expand Down
20 changes: 0 additions & 20 deletions lib/FusionInventory/Agent/HTTP/Client/Fusion.pm

This file was deleted.

2 changes: 1 addition & 1 deletion lib/FusionInventory/Agent/Scheduler.pm
Expand Up @@ -148,7 +148,7 @@ a hash reference on a key/val list of available tasks.
=item I<client>
A I<FusionInventory::Agent::HTTP::Client::Fusion> instance.
A I<FusionInventory::Agent::HTTP::Client> instance.
=back
Expand Down
2 changes: 1 addition & 1 deletion lib/FusionInventory/Agent/Task/Inventory.pm
Expand Up @@ -117,7 +117,7 @@ sub run {
}

} elsif ($self->{target}->isa('FusionInventory::Agent::Target::Server')) {
my $client = FusionInventory::Agent::HTTP::Client::Fusion->new(
my $client = FusionInventory::Agent::HTTP::Client->new(
logger => $self->{logger},
user => $params{user},
password => $params{password},
Expand Down
2 changes: 1 addition & 1 deletion lib/FusionInventory/Agent/Task/WakeOnLan.pm
Expand Up @@ -87,7 +87,7 @@ sub run {

$self->{logger}->debug("FusionInventory WakeOnLan task $VERSION");

my $client = FusionInventory::Agent::HTTP::Client::Fusion->new(
my $client = FusionInventory::Agent::HTTP::Client->new(
logger => $self->{logger},
user => $params{user},
password => $params{password},
Expand Down

0 comments on commit 5ce560f

Please sign in to comment.