projects
/
pve-client.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
00e944c
)
remote add: fix connection setup
author
Dietmar Maurer
<dietmar@proxmox.com>
Wed, 6 Jun 2018 04:59:14 +0000
(06:59 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Wed, 6 Jun 2018 04:59:14 +0000
(06:59 +0200)
PVE/APIClient/Commands/remote.pm
patch
|
blob
|
blame
|
history
diff --git
a/PVE/APIClient/Commands/remote.pm
b/PVE/APIClient/Commands/remote.pm
index 06bc1b6d2e6ee4a1269f7da7c6b6330e0ed4d5bd..e8c876a7259921cff5f83452537f828e66985063 100644
(file)
--- a/
PVE/APIClient/Commands/remote.pm
+++ b/
PVE/APIClient/Commands/remote.pm
@@
-80,13
+80,7
@@
__PACKAGE__->register_method ({
};
}
};
}
- my $api = PVE::APIClient::LWP->new(
- manual_verification => 1,
- register_fingerprint_cb => sub {
- my $fp = shift @_;
- $last_fp = $fp;
- },
- );
+ my $api = PVE::APIClient::LWP->new(%$setup);
$api->login();
$param->{fingerprint} = $last_fp if !defined($param->{fingerprint});
$api->login();
$param->{fingerprint} = $last_fp if !defined($param->{fingerprint});