From d79d1c813156e02aebf9468a20f72e65d9424551 Mon Sep 17 00:00:00 2001 From: garfthoffman <109185460+garfthoffman@users.noreply.github.com> Date: Fri, 22 Nov 2024 19:06:56 +0000 Subject: [PATCH] clean up unused boolean flag Signed-off-by: garfthoffman <109185460+garfthoffman@users.noreply.github.com> --- go/vt/tableacl/tableacl.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/go/vt/tableacl/tableacl.go b/go/vt/tableacl/tableacl.go index d68a0642ef0..dd6638e9786 100644 --- a/go/vt/tableacl/tableacl.go +++ b/go/vt/tableacl/tableacl.go @@ -96,11 +96,11 @@ var currentTableACL tableACL // } // ] // } -func Init(configFile string, aclCB func(), enforceTableACLConfig string) error { - return currentTableACL.init(configFile, aclCB, enforceTableACLConfig string) +func Init(configFile string, aclCB func()) error { + return currentTableACL.init(configFile, aclCB) } -func (tacl *tableACL) init(configFile string, aclCB func(), enforceTableACLConfig string) error { +func (tacl *tableACL) init(configFile string, aclCB func()) error { tacl.SetCallback(aclCB) if configFile == "" { return nil