Skip to content

Commit 1261b72

Browse files
committed
Fix: Treat 'initial' as another module when creating daemon configs
1 parent cc3c017 commit 1261b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netsim/augment/nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def cleanup_daemon_config(n: Box) -> None:
525525

526526
kn = k.replace('@','.') # A workaround for aggressive de-dotting
527527
# Leave config mappings for device configuration, module configuration, or extra configs
528-
if kn == n.device or kn in n.get('module',[]) or kn in n.get('config',[]):
528+
if kn == n.device or kn in n.get('module',[]) or kn in n.get('config',[]) or kn == 'initial':
529529
continue
530530

531531
n._daemon_config.pop(k,None)

0 commit comments

Comments
 (0)