Skip to content

Commit

Permalink
rename to runtimev3
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <[email protected]>
  • Loading branch information
zirain committed Oct 23, 2023
1 parent 23882cd commit bab0587
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/xds/translator/translator.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
endpointv3 "github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3"
listenerv3 "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3"
routev3 "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
runtime "github.com/envoyproxy/go-control-plane/envoy/service/runtime/v3"
runtimev3 "github.com/envoyproxy/go-control-plane/envoy/service/runtime/v3"
matcherv3 "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
cachetypes "github.com/envoyproxy/go-control-plane/pkg/cache/types"
resourcev3 "github.com/envoyproxy/go-control-plane/pkg/resource/v3"
Expand Down Expand Up @@ -92,7 +92,7 @@ func (t *Translator) Translate(ir *ir.Xds) (*types.ResourceVersionTable, error)

// Right now, EG does support RTDS(Runtime Discovery Service), this is used to avoid warning message
tCtx.SetResources(resourcev3.RuntimeType, []cachetypes.Resource{
&runtime.Runtime{
&runtimev3.Runtime{
Name: "runtime-0", // hardcode in bootstrap template
Layer: &structpb.Struct{},
},
Expand Down

0 comments on commit bab0587

Please sign in to comment.