Skip to content

Commit

Permalink
Merge pull request #124594 from aroradaman/agnhost-log-requests
Browse files Browse the repository at this point in the history
agnhost: log response for /hostname
  • Loading branch information
k8s-ci-robot committed Apr 28, 2024
2 parents 7196c74 + 5aaa375 commit 53870af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/images/agnhost/VERSION
@@ -1 +1 @@
2.51
2.52
1 change: 1 addition & 0 deletions test/images/agnhost/netexec/netexec.go
Expand Up @@ -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
}
Expand Down

0 comments on commit 53870af

Please sign in to comment.