Skip to content

Commit

Permalink
fixed typo in error log (TykTechnologies#3579)
Browse files Browse the repository at this point in the history
Co-authored-by: Furkan Senharputlu <[email protected]>
  • Loading branch information
vishal-uttamchandani and furkansenharputlu authored Jul 23, 2021
1 parent c125943 commit 7fe43eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gateway/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1231,10 +1231,10 @@ var hostDetails struct {
func getHostDetails() {
var err error
if hostDetails.PID, err = readPIDFromFile(); err != nil {
mainLog.Error("Failed ot get host pid: ", err)
mainLog.Error("Failed to get host pid: ", err)
}
if hostDetails.Hostname, err = os.Hostname(); err != nil {
mainLog.Error("Failed ot get hostname: ", err)
mainLog.Error("Failed to get hostname: ", err)
}
}

Expand Down

0 comments on commit 7fe43eb

Please sign in to comment.