Skip to content

Commit

Permalink
Merge pull request #984 from lilic/fix-log
Browse files Browse the repository at this point in the history
pkg/operator/operator.go: Adjust log format of resyncPeriod
  • Loading branch information
openshift-merge-robot committed Nov 19, 2020
2 parents fff7ac2 + 610aac5 commit aa23d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/operator/operator.go
Expand Up @@ -213,7 +213,7 @@ func (o *Operator) Run(stopc <-chan struct{}) error {
key := o.namespace + "/" + o.configMapName
_, exists, _ := o.cmapInf.GetStore().GetByKey(key)
if !exists {
klog.Infof("ConfigMap to configure stack does not exist. Reconciling with default config every %d minutes.", resyncPeriod)
klog.Infof("ConfigMap to configure stack does not exist. Reconciling with default config every %s.", resyncPeriod)
o.enqueue(key)
}

Expand All @@ -224,7 +224,7 @@ func (o *Operator) Run(stopc <-chan struct{}) error {
case <-ticker.C:
_, exists, _ := o.cmapInf.GetStore().GetByKey(key)
if !exists {
klog.Infof("ConfigMap to configure stack does not exist. Reconciling with default config every %d minutes.", resyncPeriod)
klog.Infof("ConfigMap to configure stack does not exist. Reconciling with default config every %s.", resyncPeriod)
o.enqueue(key)
}
}
Expand Down

0 comments on commit aa23d62

Please sign in to comment.