Skip to content

Commit

Permalink
backport of commit f752364
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Oct 17, 2022
1 parent 1230617 commit 36736f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nomad/encrypter.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ START:
// new leader has not yet replicated the key from
// the old leader before the transition. Ask all
// the other servers if they have it.
krr.logger.Debug("failed to fetch key from current leader",
krr.logger.Warn("failed to fetch key from current leader, trying peers",
"key", keyID, "error", err)
getReq.AllowStale = true
for _, peer := range krr.getAllPeers() {
Expand All @@ -494,7 +494,7 @@ START:
krr.logger.Error("failed to add key", "key", keyID, "error", err)
goto ERR_WAIT
}
krr.logger.Trace("added key", "key", keyID)
krr.logger.Info("added key", "key", keyID)
}
}
}
Expand Down

0 comments on commit 36736f4

Please sign in to comment.