From ac5a6353c7de19d2863d3873f39911bca027e43e Mon Sep 17 00:00:00 2001 From: Raul Sevilla Date: Thu, 28 Nov 2024 11:27:22 +0100 Subject: [PATCH] Fix typo Signed-off-by: Raul Sevilla --- ocp-metadata/ocp-metadata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocp-metadata/ocp-metadata.go b/ocp-metadata/ocp-metadata.go index 2d0de36..008635e 100644 --- a/ocp-metadata/ocp-metadata.go +++ b/ocp-metadata/ocp-metadata.go @@ -397,7 +397,7 @@ func (meta *Metadata) GetOCPVirtualizationVersion() (string, error) { if err != nil { return "", err } - if virtOpVers, ok := virtOp.Labels["app.kubernetes.io/verssion"]; ok { + if virtOpVers, ok := virtOp.Labels["app.kubernetes.io/version"]; ok { return virtOpVers, nil } else { return "", fmt.Errorf("label app.kubernetes.io/version not found in virt-operator deployment")