mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +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
|
||||
}
|
||||
if logger.IsDebug() {
|
||||
logger.Debug("config service_address set", "service_address", serviceAddr)
|
||||
logger.Debug("config service_address set", "service_address", serviceAddrStr)
|
||||
}
|
||||
|
||||
checkTimeout := defaultCheckTimeout
|
||||
|
||||
Reference in New Issue
Block a user