Skip to content

Commit cb25bd7

Browse files
committed
dummy commit to trigger CI/CD for testing new quay robot account
1 parent d6d5d02 commit cb25bd7

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func logHelp() {
3636
log.Info(" set dead: application liveness probe will fail")
3737
log.Info(" leak mem: leak memory")
3838
log.Info(" leak cpu: leak cpu")
39-
log.Info(" request <url>: request a url, eg 'request https://www.google.com'")
39+
log.Info(" request <url>: request a url, eg 'request https://www.kubermatic.com/'")
4040
log.Info(" delay / <seconds>: set delay for the root endpoint ('/') in seconds, eg 'delay / 5'")
4141
log.Info("Available Endpoints:")
4242
log.Info(" /: root endpoint, the output is depending on the application configuration")

src/server.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package main
22

33
import (
4+
"fmt"
45
"html/template"
56
"net/http"
67
"os"
@@ -100,6 +101,7 @@ func (s *server) handleRoot(w http.ResponseWriter, r *http.Request) {
100101

101102
if !s.config.rootEnabled {
102103
w.WriteHeader(http.StatusServiceUnavailable)
104+
fmt.Fprint(w, "The root endpoint of the application is disabled")
103105
log.Info("Root endpoint ('/') responded with Status Code 503 Service Unavailable due to root endpoint is disabled")
104106
return
105107
}

todo.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## verify leak cpu method
44

5+
## add timestamp when the process was started
6+
57
## stuff
68

79
- pass in version into docker build?

0 commit comments

Comments
 (0)