Skip to content

Commit

Permalink
clean up unused boolean flag
Browse files Browse the repository at this point in the history
Signed-off-by: garfthoffman <[email protected]>
  • Loading branch information
garfthoffman committed Nov 22, 2024
1 parent eca5d61 commit d79d1c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions go/vt/tableacl/tableacl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d79d1c8

Please sign in to comment.