Skip to content

Commit e76696c

Browse files
authored
Fix gateway router field backward compatibility (#3327)
1 parent a05cf74 commit e76696c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dstack/_internal/core/compatibility/gateways.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ def _get_gateway_configuration_excludes(
3232
configuration_excludes: IncludeExcludeDictType = {}
3333
if configuration.tags is None:
3434
configuration_excludes["tags"] = True
35+
if configuration.router is None:
36+
configuration_excludes["router"] = True
3537
return configuration_excludes

0 commit comments

Comments
 (0)