Skip to content

Commit 02250ac

Browse files
committed
chore: satisfy go lint fieldalignment
1 parent 9700105 commit 02250ac

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

cmd/migrate/main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ import (
66
"fmt"
77
"os"
88

9-
"github.com/rs/zerolog"
10-
119
"github.com/golang-migrate/migrate/v4"
1210
_ "github.com/golang-migrate/migrate/v4/database/postgres"
1311
_ "github.com/golang-migrate/migrate/v4/source/file"
12+
"github.com/rs/zerolog"
1413

1514
"github.com/EvalOps/keep/pkg/logging"
1615
"github.com/EvalOps/keep/pkg/secrets"

services/authz/server/server.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,18 @@ const (
101101

102102
// Server implements the authorization service with OPA policy evaluation
103103
type Server struct {
104-
cfg *Config
105-
retryCfg *retry.Config
104+
logger zerolog.Logger
105+
tsListener net.Listener
106+
vouchClient vouch.DevicePostureClient
106107
httpSrv *http.Server
107108
tsHTTP *http.Server
108109
client *http.Client
109110
invClient *http.Client
110-
vouchClient vouch.DevicePostureClient
111111
ca *pki.CertificateAuthority
112112
tsServer *tsnet.Server
113-
tsListener net.Listener
113+
cfg *Config
114+
retryCfg *retry.Config
114115
rootCAPEM []byte
115-
logger zerolog.Logger
116116
mu sync.Mutex
117117
state struct {
118118
started bool

0 commit comments

Comments
 (0)