Skip to content

Commit 42ebd3c

Browse files
oliwermjuraga
authored andcommitted
REORG/MINOR: do not use logrus directly in handlers
1 parent eeb0e12 commit 42ebd3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.aspell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ allowed:
3636
- crl
3737
- crt
3838
- ocsp
39+
- logrus

handlers/cluster.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,13 @@ import (
2222
"strings"
2323
"time"
2424

25-
log "github.com/sirupsen/logrus"
26-
2725
"github.com/go-openapi/runtime/middleware"
2826
client_native "github.com/haproxytech/client-native/v6"
2927
"github.com/haproxytech/client-native/v6/models"
3028

3129
"github.com/haproxytech/dataplaneapi/configuration"
3230
"github.com/haproxytech/dataplaneapi/haproxy"
31+
"github.com/haproxytech/dataplaneapi/log"
3332
"github.com/haproxytech/dataplaneapi/operations/cluster"
3433
"github.com/haproxytech/dataplaneapi/storagetype"
3534
)

0 commit comments

Comments
 (0)