Skip to content

Commit

Permalink
fix: spelling on variable name nodeInfoErr
Browse files Browse the repository at this point in the history
  • Loading branch information
thatmattlong committed Jan 25, 2024
1 parent f5e1afe commit b160a03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cns/service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}

Expand Down

0 comments on commit b160a03

Please sign in to comment.