From: Dietmar Maurer Date: Thu, 14 Jun 2018 08:08:06 +0000 (+0200) Subject: Config.pm: use PVE::APIClient::PTY X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=commitdiff_plain;h=269f8ffa5a9a5bfc67bff1682cc1cc3c39458d95 Config.pm: use PVE::APIClient::PTY --- diff --git a/PVE/APIClient/Config.pm b/PVE/APIClient/Config.pm index ab84695..3f2efe5 100644 --- a/PVE/APIClient/Config.pm +++ b/PVE/APIClient/Config.pm @@ -6,6 +6,7 @@ use JSON; use PVE::APIClient::JSONSchema; use PVE::APIClient::SectionConfig; +use PVE::APIClient::PTY; use PVE::APIClient::Tools qw(file_get_contents file_set_contents); use base qw(PVE::APIClient::SectionConfig); @@ -143,7 +144,7 @@ sub remote_conn { my $password = $section->{password}; if (!defined($password)) { - $password = PVE::PTY::read_password("Remote password: ") + $password = PVE::APIClient::PTY::read_password("Remote password: ") } my $conn = PVE::APIClient::LWP->new(