[pve-devel] [PATCH v1 pve-esxi-import-tools 2/5] listvms: s/EsxiConnectonArgs/EsxiConnectionArgs
Max R. Carrara
m.carrara at proxmox.com
Fri Jul 18 18:19:02 CEST 2025
Signed-off-by: Max R. Carrara <m.carrara at proxmox.com>
---
listvms.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/listvms.py b/listvms.py
index 221d562..710ac5e 100755
--- a/listvms.py
+++ b/listvms.py
@@ -56,7 +56,7 @@ def parse_args() -> argparse.Namespace:
@dataclass
-class EsxiConnectonArgs:
+class EsxiConnectionArgs:
hostname: str
port: int
username: str
@@ -66,7 +66,7 @@ class EsxiConnectonArgs:
@contextmanager
def connect_to_esxi_host(
- args: EsxiConnectonArgs,
+ args: EsxiConnectionArgs,
) -> Generator[vim.ServiceInstance, None, None]:
"""Opens a connection to an ESXi host with the given username and password
contained in the password file.
@@ -335,7 +335,7 @@ def is_diskless_vm(vm: vim.VirtualMachine) -> bool:
def main():
args = parse_args()
- connection_args = EsxiConnectonArgs(
+ connection_args = EsxiConnectionArgs(
hostname=args.hostname,
port=args.port,
username=args.username,
--
2.39.5
More information about the pve-devel
mailing list