mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
b1b05f0bac
Prevent partial application of Envoy extensions Ensure that non-required extensions do not change xDS resources before exiting on failure by cloning proto messages prior to applying each extension. To support this change, also move `CanApply` checks up a layer and make them prior to attempting extension application, s.t. we avoid unnecessary copies where extensions can't be applied. Last, ensure that we do not allow panics from `CanApply` or `Extend` checks to escape the attempted extension application.
3 lines
113 B
Plaintext
3 lines
113 B
Plaintext
```release-note:bug
|
|
xds: Prevent partial application of non-Required Envoy extensions in the case of failure.
|
|
``` |