Skip to content

Commit 2cd67ca

Browse files
committed
Modifying html output
1 parent b01feab commit 2cd67ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

k8s/k8s.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func getServerIP() string {
2020
}
2121

2222
func getHTML(image string) string {
23-
message := "Customer Support, Mr. Cat speaking, how can I help you?"
23+
message := "TechSupport, Mr. Cat speaking, how can I help you?"
2424
color := "orange"
2525
if image == "1.3.1" {
2626
message = "High five budy, I'm healthy as ever!"
@@ -31,7 +31,7 @@ func getHTML(image string) string {
3131
color = "red"
3232
}
3333
return `<!DOCTYPE html><html><body><center>
34-
<img src="https://raw.githubusercontent.com/twogg-git/k8s-workshop/master/src` + image + `.png">
34+
<img src="https://raw.githubusercontent.com/twogg-git/k8s-workshop/master/src/` + image + `.png">
3535
<h1 style="color:` + color + `">` + message + `</h3>
3636
<h2 style="color:green">Playing with Kubernetes</h1>
3737
<h2 style="color:blue">Server IP ` + getServerIP() + `</h2>

0 commit comments

Comments
 (0)