mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
fix: print consul svc addr in debug log (#12115)
* fix: print consul svc addr in debug log * fix: add small change log 12115.txt
This commit is contained in:
3
changelog/12115.txt
Normal file
3
changelog/12115.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
```release-note:bug
|
||||||
|
service_registration/consul: Print config service_address set in DEBUG log
|
||||||
|
```
|
||||||
@@ -120,7 +120,7 @@ func NewServiceRegistration(conf map[string]string, logger log.Logger, state sr.
|
|||||||
serviceAddr = &serviceAddrStr
|
serviceAddr = &serviceAddrStr
|
||||||
}
|
}
|
||||||
if logger.IsDebug() {
|
if logger.IsDebug() {
|
||||||
logger.Debug("config service_address set", "service_address", serviceAddr)
|
logger.Debug("config service_address set", "service_address", serviceAddrStr)
|
||||||
}
|
}
|
||||||
|
|
||||||
checkTimeout := defaultCheckTimeout
|
checkTimeout := defaultCheckTimeout
|
||||||
|
|||||||
Reference in New Issue
Block a user