Skip to content

Commit 597bc98

Browse files
committed
Remove enable_federation_2 patch in netbox code
1 parent 5c5367e commit 597bc98

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

docker/netbox/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ FROM netboxcommunity/netbox:v4.4.1
22

33
# NOTE: when updating the Netbox version, remember to update the database snapshot. See docker/postgresql/README.md for details
44

5-
# Patch strawberry schema to enable federation
6-
RUN sed -i 's/= strawberry.Schema(/= strawberry.federation.Schema(enable_federation_2=True,/g' /opt/netbox/netbox/netbox/graphql/schema.py
7-
85
# Patch strawberry types to allow joins
96
ADD patch_federation.py .
107
RUN python patch_federation.py

0 commit comments

Comments
 (0)