Skip to content

Commit

Permalink
Merge pull request #559 from jcmoraisjr/jm-fix-log
Browse files Browse the repository at this point in the history
Fix logging messages
  • Loading branch information
jcmoraisjr authored Apr 16, 2020
2 parents 9096632 + c9c84e6 commit 428d2bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (hc *HAProxyController) AcmeCheck() (int, error) {
// OnStartedLeading ...
// implements LeaderSubscriber
func (hc *HAProxyController) OnStartedLeading(ctx context.Context) {
_, _ = hc.instance.AcmeCheck("starting leader")
_, _ = hc.instance.AcmeCheck("started leading")
}

// OnStoppedLeading ...
Expand Down
2 changes: 1 addition & 1 deletion pkg/haproxy/dynupdate.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (d *dynUpdater) checkConfigPair() bool {
for _, backend := range curConfig.Backends().Items() {
back, found := backends[backend.ID]
if !found {
d.logger.InfoV(2, "removed backend '%s'", backend.ID)
d.logger.InfoV(2, "added backend '%s'", backend.ID)
return false
}
back.cur = backend
Expand Down

0 comments on commit 428d2bc

Please sign in to comment.