mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-22 03:30:42 +02:00
cloud-setup: debug log when URL is mocked
This commit is contained in:
parent
4ef944d504
commit
bc836c3991
1 changed files with 7 additions and 0 deletions
|
|
@ -108,6 +108,13 @@ again:
|
|||
\
|
||||
if (!g_atomic_pointer_compare_and_exchange(&base_cached, NULL, base)) \
|
||||
goto again; \
|
||||
\
|
||||
if (!nm_streq(base, ("" default_host ""))) { \
|
||||
_LOGD("test: mock %s=\"%s\" (default \"%s\")", \
|
||||
"" nmcs_env_host "", \
|
||||
base, \
|
||||
"" default_host ""); \
|
||||
} \
|
||||
} \
|
||||
\
|
||||
return base; \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue