Skip to content
Snippets Groups Projects
Commit db7c2e5b authored by Wolfgang Welz's avatar Wolfgang Welz
Browse files

Fix linter warning

parent 2274beb0
No related branches found
No related tags found
No related merge requests found
......@@ -8,16 +8,13 @@ import (
"github.com/iotaledger/goshimmer/packages/autopeering/peer/service"
"github.com/iotaledger/goshimmer/plugins/autopeering"
"github.com/iotaledger/goshimmer/plugins/webapi"
"github.com/iotaledger/hive.go/logger"
"github.com/iotaledger/hive.go/node"
"github.com/labstack/echo"
)
var PLUGIN = node.NewPlugin("WebAPI getNeighbors Endpoint", node.Enabled, configure)
var log *logger.Logger
func configure(plugin *node.Plugin) {
log = logger.NewLogger("API-getNeighbors")
webapi.Server.GET("getNeighbors", getNeighbors)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment