@@ -56,17 +56,18 @@ func (s *server) handleRoot(w http.ResponseWriter, r *http.Request) {
5656 fmt .Fprintf (w , "Application Liveness: %t<br>" , s .config .alive )
5757 fmt .Fprintf (w , "Application Readiness: %t<br>" , s .config .ready )
5858 fmt .Fprintf (w , "Delay seconds of root endpoint ('/'): %d<br>" , s .config .rootDelaySeconds )
59- fmt .Fprintf (w , "Seconds needed for startup : %d<br>" , s .config .startUpDelaySeconds )
60- fmt .Fprintf (w , "Seconds needed for teardown : %d<br>" , s .config .tearDownDelaySeconds )
59+ fmt .Fprintf (w , "Seconds the application needs to start up : %d<br>" , s .config .startUpDelaySeconds )
60+ fmt .Fprintf (w , "Seconds the application needs to shut down gracefuly : %d<br>" , s .config .tearDownDelaySeconds )
6161 fmt .Fprintf (w , "Only log to file: %v<br>" , s .config .logToFileOnly )
6262
6363 fmt .Fprint (w , "<h2>Tech Details</h2>" )
6464 fmt .Fprintf (w , "Process Id of the application: %d<br>" , os .Getpid ())
65- fmt .Fprintf (w , "User Id of the application: %d<br>" , os .Getuid ())
65+ fmt .Fprintf (w , "User Id the application is using : %d<br>" , os .Getuid ())
6666 hostName , _ := os .Hostname ()
6767 fmt .Fprintf (w , "Hostname: %s<br>" , hostName )
6868
6969 if s .config .catImageUrl != "" {
70+ fmt .Fprint (w , "<h2>The promised cute cat</h2>" )
7071 fmt .Fprintf (w , "<img src='%s' width='500px'></img>" , s .config .catImageUrl )
7172 }
7273
0 commit comments