You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when the xDS client encounters errors while decoding resources, the metadata indicates a NACKed update. However, the returned error lacks specific classification for these NACK errors. This makes it difficult to distinguish NACKs from other error types within the xdsresource package.
To enhance error handling, we should:
Introduce a New Error Type: Create a new error type, ErrTypeNack. This type should specifically represent NACKed updates.
Use xdsresource.NewErrorf: When setting the error field during an update after decoding, utilize xdsresource.NewErrorf to construct an error of type ErrNack.
The text was updated successfully, but these errors were encountered:
Currently, when the xDS client encounters errors while decoding resources, the metadata indicates a NACKed update. However, the returned error lacks specific classification for these NACK errors. This makes it difficult to distinguish NACKs from other error types within the xdsresource package.
To enhance error handling, we should:
ErrTypeNack
. This type should specifically represent NACKed updates.The text was updated successfully, but these errors were encountered: