diff --git a/cmd/sliexporter.go b/cmd/sliexporter.go index 52539bc02..32499c790 100644 --- a/cmd/sliexporter.go +++ b/cmd/sliexporter.go @@ -101,7 +101,7 @@ func (s *sliProber) executeSLIProber(cmd *cobra.Command, _ []string) error { } if utils.IsKindAvailable(vshnv1.GroupVersion, "XVSHNPostgreSQL", ctrl.GetConfigOrDie()) { - log.Info("Enabling VSHNKeycloak controller") + log.Info("Enabling VSHNPostgreSQL controller") if err = (&vshnpostgresqlcontroller.VSHNPostgreSQLReconciler{ Client: mgr.GetClient(), Scheme: mgr.GetScheme(), @@ -154,7 +154,7 @@ func (s *sliProber) executeSLIProber(cmd *cobra.Command, _ []string) error { } } - if utils.IsKindAvailable(managedupgradev1beta1.GroupVersion, "UpgradeJob", ctrl.GetConfigOrDie()) { + if utils.IsKindAvailable(managedupgradev1beta1.GroupVersion, "UpgradeJob", config) { log.Info("Enable OC maintenance observer") serviceCluster, err := getServiceCluster() if err != nil {