File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -80,14 +80,18 @@ type EndpointPickerConfig struct {
8080
8181// Extension specifies how to configure an extension that runs the endpoint picker.
8282type Extension struct {
83- // Reference is a reference to a service extension.
83+ // Reference is a reference to a service extension. When ExtensionReference is invalid,
84+ // a 5XX status code MUST be returned for the request that would have otherwise been routed
85+ // to the invalid backend.
8486 ExtensionReference `json:",inline"`
8587
8688 // ExtensionConnection configures the connection between the gateway and the extension.
8789 ExtensionConnection `json:",inline"`
8890}
8991
90- // ExtensionReference is a reference to the extension deployment.
92+ // ExtensionReference is a reference to the extension deployment. When ExtensionReference is invalid,
93+ // a 5XX status code MUST be returned for the request that would have otherwise been routed to the
94+ // invalid backend.
9195type ExtensionReference struct {
9296 // Group is the group of the referent.
9397 // The default value is "", representing the Core API group.
You can’t perform that action at this time.
0 commit comments