You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
term.Warnf("service %q: environment variable %q with value %q contains a service name needs to be normalized, but it will be repalced by an existing config. service names in a config will not be normalized.", svccfg.Name, key, *value)
141
+
term.Warnf("service %q: The environment variable %q, with the value %q, contains a service name that needs to be normalized. however, it will be replaced by an existing configuration. service names within a configuration will not be normalized.", svccfg.Name, key, *value)
142
+
} else {
143
+
term.Warnf("service %q: environment variable %q overridden by config", svccfg.Name, key)
term.Warnf("service %q: service names were NOT replaced in environment variable %q: %q, only service with port mode host will be replaced", svccfg.Name, key, val)
158
+
term.Warnf("service %q: service names in the environment variable %q (%q) were not replaced. only services with port mode set to host will be replaced.", svccfg.Name, key, val)
Copy file name to clipboardExpand all lines: src/tests/fixupenv/compose.yaml.warnings
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,13 @@
3
3
! service "bad-service": ingress port without healthcheck defaults to GET / HTTP/1.1
4
4
! service "bad-service": missing compose directive: restart; assuming 'unless-stopped' (add 'restart' to silence)
5
5
! service "bad-service": missing memory reservation; specify deploy.resources.reservations.memory to avoid out-of-memory errors
6
-
! service "env-in-config": environment variable "CONFIG1" overridden by config
7
-
! service "env-in-config": environment variable "CONFIG1" with value "http://Mistral:8000" contains a service name needs to be normalized, but it will be repalced by an existing config. service names in a config will not be normalized.
6
+
! service "env-in-config": The environment variable "CONFIG1", with the value "http://Mistral:8000", contains a service name that needs to be normalized. however, it will be replaced by an existing configuration. service names within a configuration will not be normalized.
8
7
! service "env-in-config": missing compose directive: restart; assuming 'unless-stopped' (add 'restart' to silence)
9
8
! service "env-in-config": missing memory reservation; specify deploy.resources.reservations.memory to avoid out-of-memory errors
10
9
! service "ui": missing compose directive: restart; assuming 'unless-stopped' (add 'restart' to silence)
11
10
! service "ui": missing memory reservation; specify deploy.resources.reservations.memory to avoid out-of-memory errors
12
11
! service "ui": service names were replaced in environment variable "API_URL": "http://mock-mistral:8000"
13
12
! service "use-bad-service": missing compose directive: restart; assuming 'unless-stopped' (add 'restart' to silence)
14
13
! service "use-bad-service": missing memory reservation; specify deploy.resources.reservations.memory to avoid out-of-memory errors
15
-
! service "use-bad-service": service names were NOT replaced in environment variable "DB_URL": "bad-service:5432", only service with port mode host will be replaced
14
+
! service "use-bad-service": service names in the environment variable "DB_URL" ("bad-service:5432") were not replaced. only services with port mode set to host will be replaced.
16
15
! service name "Mistral" was normalized to "mistral"
0 commit comments