Skip to content

Commit bebd839

Browse files
committed
pkg (fix): lint issues
1 parent 9640120 commit bebd839

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

pkg/client/client_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
"github.com/phayes/freeport"
1515
"github.com/practable/relay/internal/permission"
1616
"github.com/practable/relay/internal/relay"
17-
"github.com/sirupsen/logrus"
1817
log "github.com/sirupsen/logrus"
1918
"github.com/stretchr/testify/assert"
2019
)
@@ -52,7 +51,7 @@ func TestClientConnect(t *testing.T) {
5251

5352
if debug {
5453
log.SetLevel(log.TraceLevel)
55-
log.SetFormatter(&logrus.TextFormatter{FullTimestamp: true, DisableColors: true})
54+
log.SetFormatter(&log.TextFormatter{FullTimestamp: true, DisableColors: true})
5655
defer log.SetOutput(os.Stdout)
5756

5857
} else {

pkg/status/status_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import (
1717
"github.com/practable/relay/internal/permission"
1818
"github.com/practable/relay/internal/relay"
1919
"github.com/practable/relay/pkg/client"
20-
"github.com/sirupsen/logrus"
2120
log "github.com/sirupsen/logrus"
2221
"github.com/stretchr/testify/assert"
2322
)
@@ -85,7 +84,7 @@ func TestStatus(t *testing.T) {
8584

8685
if debug {
8786
log.SetLevel(log.TraceLevel)
88-
log.SetFormatter(&logrus.TextFormatter{FullTimestamp: true, DisableColors: true})
87+
log.SetFormatter(&log.TextFormatter{FullTimestamp: true, DisableColors: true})
8988
defer log.SetOutput(os.Stdout)
9089

9190
} else {

0 commit comments

Comments
 (0)