Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: shizunge/gantry
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 38ef0c432c4f9db1ba1446da46fb29d929f6f255
Choose a base ref
..
head repository: shizunge/gantry
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7b8ee71f3e80152d5bf158347d09854e8ba5faa1
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lib-gantry.sh
2 changes: 1 addition & 1 deletion src/lib-gantry.sh
Original file line number Diff line number Diff line change
@@ -482,7 +482,7 @@ gantry_current_service_name() {
_service_is_self() {
if [ -z "${GANTRY_SERVICES_SELF}" ]; then
# If _service_is_self is called inside a subprocess, export won't affect the parent process.
# Use static variable to preserve the value between processes. And we only want to log the value is set once.
# Use a static variable to preserve the value between processes. And we only want to log the value is set once.
GANTRY_SERVICES_SELF=$(_static_variable_read_list STATIC_VAR_SERVICES_SELF)
if [ -z "${GANTRY_SERVICES_SELF}" ]; then
GANTRY_SERVICES_SELF=$(gantry_current_service_name)