// Define the collectdPlugin finalizer for handling deletion
const (
- defaultWatchLabel = "app=collectd"
+ defaultWatchLabel = "app=collectd"
CollectdFinalizer = "finalizer.collectd.onap.org"
// WatchLabelsEnvVar is the constant for env variable WATCH_LABELS
}
}
}
-
+
if isDelete {
delete(loadPlugin, delPlugin)
} else {