Skip to content

xdsclient: handle empty authority in new style resource names correctly #5487

Closed
@easwars

Description

Currently, the logic used to parse and regenerate resource names when using new style resource names is broken when the authority is empty.

path = path + "/" + n.ID

For example, if a watch is registered for the following name xdstp:///type/id, the resource name being requested was getting set to xdstp://type/id. Note that type is now part of the authority of the requested URL.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions