From 68acd0723541df1ba44b39f13b218ac261756ab7 Mon Sep 17 00:00:00 2001 From: Malte Bauch <malte.bauch@stud.h-da.de> Date: Thu, 8 Oct 2020 18:16:40 +0200 Subject: [PATCH] fixed database linting errors --- database/database.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/database/database.go b/database/database.go index 5f33a14dc..d6ca805a1 100644 --- a/database/database.go +++ b/database/database.go @@ -110,11 +110,14 @@ func (d Database) StorePND(pnd *PND) neo4j.Node { //RemovePND removes the given principle network domain by id. func (d Database) RemovePND(id string) {} +//GetPNDByID gets a specific PND by the given ID. func (d Database) GetPNDByID(id string) {} +//GetNodesByLabel gets all nodes that belong to a specific label. func (d Database) GetNodesByLabel(label string) {} -func (d Database) GetDeviceByID(id string) {} +//GetNodeByID gets a specific node by ID. +func (d Database) GetNodeByID(id string) {} //storeNodesTxFunc transaction to store devices from a json. //relates them to a specific pnd id. -- GitLab