From ee43c9f973882927fcc29145a9bfad5e797ebced Mon Sep 17 00:00:00 2001 From: Aleksandr Zimin Date: Mon, 19 Aug 2024 11:02:17 +0300 Subject: [PATCH] fix linter issues Signed-off-by: Aleksandr Zimin --- images/agent/src/pkg/controller/lvm_volume_group_watcher_func.go | 1 - 1 file changed, 1 deletion(-) diff --git a/images/agent/src/pkg/controller/lvm_volume_group_watcher_func.go b/images/agent/src/pkg/controller/lvm_volume_group_watcher_func.go index 23ae987b..26a3dd51 100644 --- a/images/agent/src/pkg/controller/lvm_volume_group_watcher_func.go +++ b/images/agent/src/pkg/controller/lvm_volume_group_watcher_func.go @@ -75,7 +75,6 @@ func checkIfVGExist(vgName string, vgs []internal.VGData) bool { } func checkLVGLabels(log logger.Logger, lvg *v1alpha1.LvmVolumeGroup, labelKey, labelValue string) bool { - if lvg.Labels == nil { log.Debug(fmt.Sprintf("[checkLabels] the LVMVolumeGroup %s has no labels.", lvg.Name)) return false