summaryrefslogtreecommitdiff
path: root/src/Network.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2024-07-30 18:20:03 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2024-07-30 18:20:03 +0200
commit28a0bc8c32d5e68f1a2ede45e8407a5f2f3acc64 (patch)
tree2b012ac5878e93427a90c3955ac5eaaadd462914 /src/Network.hs
parent97597b95b5323565c685594f93182ef99aa633e4 (diff)
Add network member to the node object
Changelog: Add network member to the node object
Diffstat (limited to 'src/Network.hs')
-rw-r--r--src/Network.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Network.hs b/src/Network.hs
index d892404..7f0896c 100644
--- a/src/Network.hs
+++ b/src/Network.hs
@@ -110,6 +110,7 @@ instance ExprType Node where
recordMembers = map (first T.pack)
[ ("ip", RecordSelector $ textIpAddress . nodeIp)
+ , ("network", RecordSelector $ nodeNetwork)
]