Skip to content

Commit 7bb1900

Browse files
committed
fix cables
1 parent 6467d37 commit 7bb1900

File tree

3 files changed

+270
-58
lines changed

3 files changed

+270
-58
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@
1616
docker-compose.yml
1717
generated-configs/
1818
infrahub_bundle_dc.egg-info
19+
infrahub-backup
1920
scripts/debug/
20-
service_catalog/.streamlit/
21+
service_catalog/.streamlit/

generators/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -960,8 +960,8 @@ async def create_oob_connections(
960960
)
961961

962962
# Set the connector relationship on both interfaces
963-
source_endpoint.connector.id = cable.id
964-
target_endpoint.connector.id = cable.id
963+
source_endpoint.connector = cable.id
964+
target_endpoint.connector = cable.id
965965

966966
batch.add(
967967
task=source_endpoint.save, allow_upsert=True, node=source_endpoint

0 commit comments

Comments
 (0)