Skip to content

Commit d6c2abb

Browse files
Update pkg/controller/operators/catalog/operator.go
Co-authored-by: Joe Lanford <[email protected]>
1 parent e13881e commit d6c2abb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/controller/operators/catalog/operator.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -938,14 +938,13 @@ func (o *Operator) syncConfigMap(logger *logrus.Entry, in *v1alpha1.CatalogSourc
938938
"configmap.namespace": in.Namespace,
939939
"configmap.name": in.Spec.ConfigMap,
940940
})
941-
logger.Info("checking catsrc configmap state")
942941

943942
out = in
944943
if !(in.Spec.SourceType == v1alpha1.SourceTypeInternal || in.Spec.SourceType == v1alpha1.SourceTypeConfigmap) {
945944
continueSync = true
946-
logger.Info("catalog type is neither internal not configmap - bailing without error")
947945
return
948946
}
947+
logger.Info("checking catsrc configmap state")
949948

950949
out = in.DeepCopy()
951950

0 commit comments

Comments
 (0)