From 264f31ad9a191a0a87c2bdf26c8f8ccf223d0d65 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Mon, 24 Jul 2023 20:34:29 -0600 Subject: [PATCH] fix --- gql.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gql.go b/gql.go index 0151323..8c29570 100644 --- a/gql.go +++ b/gql.go @@ -889,8 +889,8 @@ var gql_actions ThreadActions = ThreadActions{ context := NewWriteContext(ctx) - err = UpdateStates(context, gql_thread, NewLockMap( - NewLockInfo(gql_thread, []string{"http_server"}), + err = UpdateStates(context, node, NewLockMap( + NewLockInfo(node, []string{"http_server"}), ), func(context *StateContext) error { gql_thread.tcp_listener = listener gql_thread.http_server = http_server