mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
commit
8246f27580
|
@ -106,7 +106,7 @@ func (c SDConfig) Name() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
// secretKeyForConfig returns a secret key that looks like a UUID, even if we
|
// secretKeyForConfig returns a secret key that looks like a UUID, even if we
|
||||||
// take the actuel secret from a file.
|
// take the actual secret from a file.
|
||||||
func (c SDConfig) secretKeyForConfig() string {
|
func (c SDConfig) secretKeyForConfig() string {
|
||||||
if c.SecretKeyFile != "" {
|
if c.SecretKeyFile != "" {
|
||||||
return "00000000-0000-0000-0000-000000000000"
|
return "00000000-0000-0000-0000-000000000000"
|
||||||
|
|
Loading…
Reference in a new issue