diff --git a/99-labs/02-webapps/README.md b/99-labs/02-webapps/README.md index c8d2ec6..2b8c2ea 100644 --- a/99-labs/02-webapps/README.md +++ b/99-labs/02-webapps/README.md @@ -330,6 +330,7 @@ metadata: labels: app: helloworld spec: + replicas: 2 selector: matchLabels: app: helloworld diff --git a/99-labs/code/helloworld/helloworld_with_goversion_test.go b/99-labs/code/helloworld/helloworld_with_goversion_test.go index 600689f..4dc7c49 100644 --- a/99-labs/code/helloworld/helloworld_with_goversion_test.go +++ b/99-labs/code/helloworld/helloworld_with_goversion_test.go @@ -18,6 +18,6 @@ func TestHelloWorldWithGoVersion(t *testing.T) { body, err := io.ReadAll(res.Body) assert.NoError(t, err, "read response body") - r := regexp.MustCompile("^Hello world from .* running Go version .*$") + r := regexp.MustCompile("^Hello world from .* running Go version.*") assert.Regexp(t, r, string(body), "response") } diff --git a/99-labs/code/helloworld/helloworld_with_hostname_test.go b/99-labs/code/helloworld/helloworld_with_hostname_test.go index 94d7db4..2c32f58 100644 --- a/99-labs/code/helloworld/helloworld_with_hostname_test.go +++ b/99-labs/code/helloworld/helloworld_with_hostname_test.go @@ -18,6 +18,6 @@ func TestHelloWorldWithHosname(t *testing.T) { body, err := io.ReadAll(res.Body) assert.NoError(t, err, "read response body") - r := regexp.MustCompile("^Hello world from .*$") + r := regexp.MustCompile("^Hello world from.*") assert.Regexp(t, r, string(body), "response") }