Skip to content

Commit

Permalink
Merge pull request #1177 from runcom/notemplatingcc
Browse files Browse the repository at this point in the history
pkg/controller/template: avoid resyncing templates if the cc didn't change
  • Loading branch information
openshift-merge-robot authored Oct 16, 2019
2 parents 11bdbbd + 6e091e8 commit 18c9e83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/controller/template/template_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,9 @@ func (ctrl *Controller) syncControllerConfig(key string) error {
if err := ctrl.syncRunningStatus(cfg); err != nil {
return err
}
} else {
glog.V(2).Info("ControllerConfig didn't change, skipping templates sync")
return nil
}

var pullSecretRaw []byte
Expand Down

0 comments on commit 18c9e83

Please sign in to comment.