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

Fix linter warning

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