mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 15:13:08 +00:00
Merge pull request #124594 from aroradaman/agnhost-log-requests
agnhost: log response for /hostname
This commit is contained in:
@@ -1 +1 @@
|
||||
2.51
|
||||
2.52
|
||||
|
@@ -727,6 +727,7 @@ func startSCTPServer(sctpPort int) {
|
||||
|
||||
func getHostName() string {
|
||||
hostName, err := os.Hostname()
|
||||
log.Printf("hostname: %s", hostName)
|
||||
assertNoError(err, "failed to get hostname")
|
||||
return hostName
|
||||
}
|
||||
|
Reference in New Issue
Block a user