Check if default servers transport spiffe config is not nil
This commit is contained in:
parent
cd0654026a
commit
194247caae
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ func (i *Provider) serverTransport(cfg *dynamic.Configuration) {
|
|||
MaxIdleConnsPerHost: i.staticCfg.ServersTransport.MaxIdleConnsPerHost,
|
||||
}
|
||||
|
||||
if i.staticCfg.Spiffe != nil {
|
||||
if i.staticCfg.ServersTransport.Spiffe != nil {
|
||||
st.Spiffe = &dynamic.Spiffe{
|
||||
IDs: i.staticCfg.ServersTransport.Spiffe.IDs,
|
||||
TrustDomain: i.staticCfg.ServersTransport.Spiffe.TrustDomain,
|
||||
|
|
Loading…
Reference in a new issue