mirror of https://github.com/status-im/consul.git
similar bump
This commit is contained in:
parent
33fcc83d00
commit
c98f2acd75
|
@ -449,10 +449,11 @@ func makeTestCluster(t *testing.T, snap *proxycfg.ConfigSnapshot, fixtureName st
|
|||
},
|
||||
},
|
||||
}
|
||||
typedExtensionProtocolOptionsEncoded, err := anypb.New(typedExtensionProtocolOptions)
|
||||
typedExtensionProtocolOptionsEncoded, err := ptypes.MarshalAny(typedExtensionProtocolOptions)
|
||||
require.NoError(t, err)
|
||||
c.TypedExtensionProtocolOptions = make(map[string]*anypb.Any)
|
||||
c.TypedExtensionProtocolOptions["envoy.extensions.upstreams.http.v3.HttpProtocolOptions"] = typedExtensionProtocolOptionsEncoded
|
||||
c.TypedExtensionProtocolOptions = map[string]*anypb.Any{
|
||||
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": typedExtensionProtocolOptionsEncoded,
|
||||
}
|
||||
return c
|
||||
case "http:db":
|
||||
return &envoy_cluster_v3.Cluster{
|
||||
|
|
Loading…
Reference in New Issue