From 48b2a81679240c9b01b51ac943ae202b71cc9089 Mon Sep 17 00:00:00 2001 From: Javier Cano Cano Date: Wed, 8 May 2024 15:50:17 +0200 Subject: [PATCH] fix(kubevirt): comment typo Fix a small comment typo showing `LoadBalancer` instead of `NodePort`. Signed-off-by: Javier Cano Cano --- plugins/inventory/kubevirt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inventory/kubevirt.py b/plugins/inventory/kubevirt.py index e30cd5f..dabb9a0 100644 --- a/plugins/inventory/kubevirt.py +++ b/plugins/inventory/kubevirt.py @@ -317,7 +317,7 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable): if service["spec"]["type"] == TYPE_LOADBALANCER: return service["spec"]["ports"][0]["port"] - # LoadBalancer services use the nodePort attribute + # NodePort services use the nodePort attribute if service["spec"]["type"] == TYPE_NODEPORT: return service["spec"]["ports"][0]["nodePort"]