Skip to content
Snippets Groups Projects

Use config package to handle all controller configurations

Merged Ghost User requested to merge istaester/provide-config-package into develop
Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 3
3
@@ -4,6 +4,8 @@ import (
"os"
"testing"
"code.fbi.h-da.de/danet/gosdn/config"
"github.com/google/uuid"
log "github.com/sirupsen/logrus"
)
@@ -17,10 +19,8 @@ var cuid uuid.UUID
func TestMain(m *testing.M) {
log.SetReportCaller(true)
log.SetLevel(config.LogLevel)
if os.Getenv("GOSDN_LOG") == "nolog" {
log.SetLevel(log.PanicLevel)
}
readTestUUIDs()
os.Exit(m.Run())
}
Loading