mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Refactors base_pools to pools
This commit is contained in:
parent
7b9b692244
commit
32b4a1cca4
9 changed files with 95 additions and 96 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue