mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-28 14:11:10 +01: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:
parent
8cc5370aed
commit
81fbac54a5
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user