Skip to content

Commit f4dd945

Browse files
committed
test
1 parent 0e2b922 commit f4dd945

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

api/v4/indexercluster_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ type IndexerClusterStatus struct {
114114
Peers []IndexerClusterMemberStatus `json:"peers"`
115115

116116
// Pipeline configuration status
117-
PipelineConfig PipelineConfigSpec `json:"pipelineConfig"`
117+
PipelineConfig PipelineConfigSpec `json:"pipelineConfig,omitempty"`
118118

119119
// Pull Bus status
120-
PullBus PushBusSpec `json:"pullBus"`
120+
PullBus PushBusSpec `json:"pullBus,omitempty"`
121121

122122
// Auxillary message describing CR status
123123
Message string `json:"message"`

pkg/splunk/enterprise/indexercluster.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,13 @@ func ApplyIndexerClusterManager(ctx context.Context, client splcommon.Controller
249249
}
250250
}
251251

252+
scopedLog.Info("cr.Status.PullBus = cr.Spec.PullBus before")
253+
252254
cr.Status.PullBus = cr.Spec.PullBus
253255
cr.Status.PipelineConfig = cr.Spec.PipelineConfig
254256

257+
scopedLog.Info("cr.Status.PipelineConfig = cr.Spec.PipelineConfig after")
258+
255259
//update MC
256260
//Retrieve monitoring console ref from CM Spec
257261
cmMonitoringConsoleConfigRef, err := RetrieveCMSpec(ctx, client, cr)
@@ -516,9 +520,13 @@ func ApplyIndexerCluster(ctx context.Context, client splcommon.ControllerClient,
516520
}
517521
}
518522

523+
scopedLog.Info("cr.Status.PullBus = cr.Spec.PullBus before")
524+
519525
cr.Status.PullBus = cr.Spec.PullBus
520526
cr.Status.PipelineConfig = cr.Spec.PipelineConfig
521527

528+
scopedLog.Info("cr.Status.PipelineConfig = cr.Spec.PipelineConfig after")
529+
522530
//update MC
523531
//Retrieve monitoring console ref from CM Spec
524532
cmMonitoringConsoleConfigRef, err := RetrieveCMSpec(ctx, client, cr)

0 commit comments

Comments
 (0)