Skip to content

Commit

Permalink
Update lib/auth/auth.go
Browse files Browse the repository at this point in the history
Co-authored-by: Edoardo Spadolini <[email protected]>
  • Loading branch information
2 people authored and github-actions committed Dec 18, 2024
1 parent 8f17899 commit 08b69ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ func (a *Server) runPeriodicOperations() {
}

// If the hostname has been replaced by a sanitized version, revert it back to the original
// if the original is valid under the new rules.
// if the original is valid under the most recent rules.
if oldHostname, ok := srv.GetLabel(replacedHostnameLabel); ok && validServerHostname(oldHostname) {
switch s := srv.(type) {
case *types.ServerV2:
Expand Down

0 comments on commit 08b69ea

Please sign in to comment.