File tree Expand file tree Collapse file tree
config/src/external/overlay Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,21 +236,6 @@ impl VpcExpose {
236236 }
237237 }
238238
239- // If the as_range list is empty, then there's no NAT required for the expose, meaning that the
240- // public IPs are those from the "ips" list. This method returns a mutable reference to the current list of public IPs
241- // for the VpcExpose.
242- #[ must_use]
243- pub fn public_ips_mut ( & mut self ) -> & mut BTreeSet < PrefixWithOptionalPorts > {
244- let Some ( nat) = self . nat . as_mut ( ) else {
245- return & mut self . ips ;
246- } ;
247- if nat. as_range . is_empty ( ) {
248- & mut self . ips
249- } else {
250- & mut nat. as_range
251- }
252- }
253-
254239 // Same as public_ips, but returns the list of excluded prefixes
255240 #[ must_use]
256241 pub fn public_excludes ( & self ) -> & BTreeSet < PrefixWithOptionalPorts > {
You can’t perform that action at this time.
0 commit comments