mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Merge 3a9895a582
into 61aa82865d
This commit is contained in:
commit
2c849c9934
|
@ -73,7 +73,7 @@ func (m *Manager) ApplyConfig(cfg *config.Config) error {
|
|||
// set, we have to restart the manager to make sure that new TLS
|
||||
// certificates are picked up.
|
||||
var blankTLSConfig config_util.TLSConfig
|
||||
if reflect.DeepEqual(m.config, cfg.TracingConfig) && m.config.TLSConfig == blankTLSConfig {
|
||||
if reflect.DeepEqual(m.config, cfg.TracingConfig) && reflect.DeepEqual(m.config.TLSConfig, blankTLSConfig) {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
@ -83,6 +83,7 @@ func TestReinstallingTracerProviderWithTLS(t *testing.T) {
|
|||
ClientType: config.TracingClientGRPC,
|
||||
TLSConfig: config_util.TLSConfig{
|
||||
CAFile: "testdata/ca.cer",
|
||||
NextProtos: []string{"h2"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue