diff --git a/main.go b/main.go index 1f8fa01c4ed805109575588fcc219eab210b72df..cb0803bb49ffbfe00cc4d72b12b130fd009897a1 100644 --- a/main.go +++ b/main.go @@ -23,20 +23,10 @@ import ( ) func main() { - // go func() { - // if err := profiler.Start(profiler.Config{ - // Service: "race-service", - // ServiceVersion: "1.0", - // ProjectID: "premium-canyon-232915", // optional on GCP - // }); err != nil { - // log.Fatalf("Cannot start the profiler: %v", err) - // } - // }() node.Run( cli.PLUGIN, autopeering.PLUGIN, gossip.PLUGIN, - //gossip_on_solidification.PLUGIN, tangle.PLUGIN, bundleprocessor.PLUGIN, analysis.PLUGIN, diff --git a/plugins/statusscreen/logger.go b/plugins/statusscreen/logger.go index a32db7fdc7f0c0678c203378f13cf13c06fbc382..871472bf483435fd7eaa0107780acd9e1564eeff 100644 --- a/plugins/statusscreen/logger.go +++ b/plugins/statusscreen/logger.go @@ -1,11 +1,12 @@ package statusscreen import ( - "github.com/iotaledger/hive.go/logger" "time" + + "github.com/iotaledger/hive.go/logger" ) -func storeStatusMessage(logLevel logger.LogLevel, prefix string, message string, ) { +func storeStatusMessage(logLevel logger.LogLevel, prefix string, message string) { mutex.Lock() defer mutex.Unlock() messageLog = append(messageLog, &StatusMessage{ diff --git a/plugins/statusscreen/status_message.go b/plugins/statusscreen/status_message.go index 6ac60673c29fe0899dc9f796d350ee58bf8cf63d..96ae34ee95e6ad8cbbd38e5253ef366e6f21626f 100644 --- a/plugins/statusscreen/status_message.go +++ b/plugins/statusscreen/status_message.go @@ -1,8 +1,9 @@ package statusscreen import ( - "github.com/iotaledger/hive.go/logger" "time" + + "github.com/iotaledger/hive.go/logger" ) type StatusMessage struct { diff --git a/plugins/statusscreen/statusscreen.go b/plugins/statusscreen/statusscreen.go index 93db9a190977c76d4066873fb985797c909c0434..575a1b3bc9e17834580139a563d7d1f0fde33236 100644 --- a/plugins/statusscreen/statusscreen.go +++ b/plugins/statusscreen/statusscreen.go @@ -1,7 +1,6 @@ package statusscreen import ( - "github.com/iotaledger/hive.go/logger" "io/ioutil" "os" "sync" @@ -10,6 +9,7 @@ import ( "github.com/gdamore/tcell" "github.com/iotaledger/hive.go/daemon" "github.com/iotaledger/hive.go/events" + "github.com/iotaledger/hive.go/logger" "github.com/iotaledger/hive.go/node" "github.com/rivo/tview" "golang.org/x/crypto/ssh/terminal" diff --git a/plugins/statusscreen/ui_log_entry.go b/plugins/statusscreen/ui_log_entry.go index 168d6d1f21cbf8c05c60b1ccf7572135f9a1e0d4..fc8db3a76d581ea0466cf32f7c569f6b2522f483 100644 --- a/plugins/statusscreen/ui_log_entry.go +++ b/plugins/statusscreen/ui_log_entry.go @@ -2,9 +2,9 @@ package statusscreen import ( "fmt" - "github.com/iotaledger/hive.go/logger" "github.com/gdamore/tcell" + "github.com/iotaledger/hive.go/logger" "github.com/rivo/tview" )