From b160a0302e56ffbd76a1aa475ecb1d495418ccaa Mon Sep 17 00:00:00 2001 From: Matthew Long <61910737+thatmattlong@users.noreply.github.com> Date: Thu, 25 Jan 2024 18:55:09 +0000 Subject: [PATCH] fix: spelling on variable name nodeInfoErr --- cns/service/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cns/service/main.go b/cns/service/main.go index 5ee0cc5905..fec9a25194 100644 --- a/cns/service/main.go +++ b/cns/service/main.go @@ -1219,8 +1219,8 @@ func InitializeCRDState(ctx context.Context, httpRestService cns.HTTPService, cn if _, ok := node.Labels[configuration.LabelNodeSwiftV2]; ok { cnsconfig.EnableSwiftV2 = true cnsconfig.WatchPods = true - if nodInfoErr := createOrUpdateNodeInfoCRD(ctx, kubeConfig, node); nodInfoErr != nil { - return errors.Wrap(nodInfoErr, "error creating or updating nodeinfo crd") + if nodeInfoErr := createOrUpdateNodeInfoCRD(ctx, kubeConfig, node); nodeInfoErr != nil { + return errors.Wrap(nodeInfoErr, "error creating or updating nodeinfo crd") } }