Skip to content

xds: Use ptypes.MarshalAny() instead of initializing an any proto as a struct literal #4251

@easwars

Description

@easwars

There are a few places in the xds tests code where we initialize any protos as struct literals. We should instead be using ptypes.MarshshalAny().

This came up during a code review: #4222 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions