Skip to content

Commit 30a7798

Browse files
committed
fix: remove vpc_egress from resettable options
1 parent b1089c3 commit 30a7798

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/firebase_functions/options.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,6 @@ def _asdict_with_global_options(self) -> dict:
375375
"service_account",
376376
"vpc_connector",
377377
"vpc_connector_egress_settings",
378-
"vpc_egress",
379378
"network_interface",
380379
]
381380
if not preserve_external_changes:
@@ -420,9 +419,7 @@ def convert_secret(secret) -> _manifest.SecretEnvironmentVariable:
420419

421420
vpc: _manifest.VpcSettings | _util.Sentinel | None = None
422421
vpc_egress = options.vpc_connector_egress_settings
423-
if options.vpc_egress is not None and (
424-
not isinstance(options.vpc_egress, _util.Sentinel) or vpc_egress is None
425-
):
422+
if options.vpc_egress is not None:
426423
vpc_egress = options.vpc_egress
427424

428425
connector = options.vpc_connector

0 commit comments

Comments
 (0)