Skip to content

Commit 6443dd3

Browse files
smanpathakAMecea
authored andcommitted
Fix issues with pod labeling
1 parent 78bc972 commit 6443dd3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/mysqlcluster/pods.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ func (f *cFactory) updatePodLabels() error {
4545
desiredVal = "master"
4646
}
4747

48-
glog.Infof("Inspecting pod: %s, label: %s, desired: %s", pod.Name, val, desiredVal)
48+
glog.V(2).Infof("Inspecting pod: %s, label: %s, desired: %s", pod.Name, val, desiredVal)
49+
4950
if !exists || val != desiredVal {
5051
labels["role"] = desiredVal
5152
glog.Infof("Updating labels for Pod: %s", pod.Name)

0 commit comments

Comments
 (0)