Skip to content

Commit 35b6262

Browse files
author
Peng Zhou
committed
remove excess logging
1 parent 5d12f55 commit 35b6262

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/k8sutil/marklogicServer.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,16 +173,13 @@ func (cc *ClusterContext) ReconsileMarklogicCluster() (reconcile.Result, error)
173173
clusterParams := generateMarkLogicClusterParams(cr)
174174
params := generateMarkLogicGroupParams(cr, i, clusterParams)
175175
markLogicGroupDef := GenerateMarkLogicGroupDef(operatorCR, i, params)
176-
logger.Info("###MarkLogicGroupDef", "MarkLogicGroupDef Labels", markLogicGroupDef.ObjectMeta.Labels)
177176
err := cc.Client.Get(cc.Ctx, namespacedName, currentMlg)
178-
logger.Info("###currentMlg", "currentMlg Labels", currentMlg.ObjectMeta.Labels)
179177
if err != nil {
180178
if apierrors.IsNotFound(err) {
181179
logger.Info("MarkLogicGroup resource not found. Creating a new one")
182180
if err := patch.DefaultAnnotator.SetLastAppliedAnnotation(markLogicGroupDef); err != nil {
183181
logger.Error(err, "Failed to set last applied annotation")
184182
}
185-
logger.Info("@@@@MarkLogicGroupDef", "MarkLogicGroupDef annotation", markLogicGroupDef.ObjectMeta.Annotations)
186183
err = cc.Client.Create(ctx, markLogicGroupDef)
187184
if err != nil {
188185
logger.Error(err, "Failed to create markLogicCluster")

0 commit comments

Comments
 (0)