Remove unused variable and dualwrite reference in provisioning code

- Eliminated an unused variable declaration in `provisioning_manifest.go`.
- Removed the `nil` reference for dualwrite in `repo_operator.go`, aligning with the standalone operator's assumption of unified storage.
This commit is contained in:
Roberto Jimenez Sanchez committed 2025-12-10 16:33:06 +01:00
1 parent d9bd00953a
commit 76a56a24af
2 files changed
-3

No files matched your search

@@ -14,8 +14,6 @@ import (
"k8s.io/apimachinery/pkg/runtime"
)
var ()
var appManifestData = app.ManifestData{
AppName: "provisioning",
Group: "provisioning.grafana.app",
@@ -85,7 +85,6 @@ func RunRepoController(deps server.OperatorDependencies) error {
resourceLister,
controllerCfg.clients,
jobs,
nil, // dualwrite -- standalone operator assumes it is backed by unified storage
healthChecker,
statusPatcher,
deps.Registerer,