public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Max R. Carrara" <m.carrara@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH v1 pve-esxi-import-tools 2/5] listvms: s/EsxiConnectonArgs/EsxiConnectionArgs
Date: Fri, 18 Jul 2025 18:19:02 +0200	[thread overview]
Message-ID: <20250718161905.461482-3-m.carrara@proxmox.com> (raw)
In-Reply-To: <20250718161905.461482-1-m.carrara@proxmox.com>

Signed-off-by: Max R. Carrara <m.carrara@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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


  parent reply	other threads:[~2025-07-18 16:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-18 16:19 [pve-devel] [PATCH v1 pve-esxi-import-tools 0/5] Type Checking Improvements Max R. Carrara
2025-07-18 16:19 ` [pve-devel] [PATCH v1 pve-esxi-import-tools 1/5] listvms: respect new type hints of pyVmomi package Max R. Carrara
2025-07-18 16:19 ` Max R. Carrara [this message]
2025-07-18 16:19 ` [pve-devel] [PATCH v1 pve-esxi-import-tools 3/5] listvms: run formatter Max R. Carrara
2025-07-18 16:19 ` [pve-devel] [PATCH v1 pve-esxi-import-tools 4/5] d/control: add python3-pyvmomi (>= 8) as build dependency Max R. Carrara
2025-07-18 16:19 ` [pve-devel] [PATCH v1 pve-esxi-import-tools 5/5] .gitignore: ignore .lint-incremental Max R. Carrara
2025-07-22 20:14 ` [pve-devel] [PATCH v1 pve-esxi-import-tools 0/5] Type Checking Improvements Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250718161905.461482-3-m.carrara@proxmox.com \
    --to=m.carrara@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal