mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-13 00:24:31 +08:00
testing continued
This commit is contained in:
parent
edbce5547a
commit
e9e6b4c2e3
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ import (
|
|||
|
||||
// GetNetworkNodes - gets the nodes of a network
|
||||
func GetNetworkNodes(network string) ([]models.Node, error) {
|
||||
var nodes []models.Node
|
||||
var nodes = []models.Node{}
|
||||
collection, err := database.FetchRecords(database.NODES_TABLE_NAME)
|
||||
if err != nil {
|
||||
if database.IsEmptyRecord(err) {
|
||||
|
|
Loading…
Add table
Reference in a new issue