From 177b27ce39daf00c67b0d6dcc6727235b29f2542 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 03 May 2026 14:12:41 +0000
Subject: [PATCH] Workflows: use repository_owner instead of actor
---
lib/NetworkDriver.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/NetworkDriver.py b/lib/NetworkDriver.py
index e48071a..478414b 100644
--- a/lib/NetworkDriver.py
+++ b/lib/NetworkDriver.py
@@ -163,14 +163,14 @@
result['Gateway'] = gw4.ip.compressed
if gw6 is not None:
result['GatewayIPv6'] = gw6.ip.compressed
- gw4 = endpoint.Options.get("gw4", None)
+ gw4 = endpoint.Options.get("gw4", network.Options.get("gw4", None))
if gw4 is not None:
result['StaticRoutes'].append({
'Destination': gw4 + '/32',
'RouteType': 1,
})
result['Gateway'] = gw4
- gw6 = endpoint.Options.get("gw6", None)
+ gw6 = endpoint.Options.get("gw6", network.Options.get("gw6", None))
if gw6 is not None:
result['StaticRoutes'].append({
'Destination': gw6 + '/128',
--
Gitblit v1.10.0