Refactors base_pools to pools

This commit is contained in:
Simone Mainardi 2020-09-01 10:53:36 +02:00
parent 7b9b692244
commit 32b4a1cca4
9 changed files with 95 additions and 96 deletions

View file

@ -4,14 +4,14 @@
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/pools/?.lua;" .. package.path
local base_pools = require "base_pools"
local pools = require "pools"
local interface_pools = {}
-- ##############################################
function interface_pools:create()
-- Instance of the base class
local _interface_pools = base_pools:create()
local _interface_pools = pools:create()
-- Subclass using the base class instance
self.key = "interface"