Remove unused code + Increase frequeuncy of host heartbeat update
This commit is contained in:
parent
9bdf4d2180
commit
52867614df
8 changed files with 1 additions and 924 deletions
|
|
@ -19,15 +19,6 @@ from . import schemas
|
|||
from .helper import generate_mac, mac2ipv6
|
||||
|
||||
|
||||
def get_parent(obj, attr):
|
||||
parent = getattr(obj, attr)
|
||||
child = parent
|
||||
while parent is not None:
|
||||
child = parent
|
||||
parent = getattr(parent, attr)
|
||||
return child
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
app = Flask(__name__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue