mirror of https://github.com/status-im/consul.git
xds: errors from the xds serverless plugin are fatal (#12682)
This commit is contained in:
parent
a7d5aa94a3
commit
cb82949ac6
|
@ -215,9 +215,8 @@ func (s *Server) processDelta(stream ADSDeltaStream, reqCh <-chan *envoy_discove
|
|||
|
||||
if s.serverlessPluginEnabled {
|
||||
newResourceMap, err = serverlessplugin.MutateIndexedResources(newResourceMap, xdscommon.MakePluginConfiguration(cfgSnap))
|
||||
|
||||
if err != nil {
|
||||
generator.Logger.Warn("failed to patch xDS resources in the serverless plugin", "err", err)
|
||||
return status.Errorf(codes.Unavailable, "failed to patch xDS resources in the serverless plugin: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue