Skip to content

Commit 395d64b

Browse files
committed
Fix: nolint
1 parent d1e1bab commit 395d64b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ func enablePrometheus(
228228
), nil
229229
}
230230

231+
// nolint:gocognit // This function makes more sense being large for now, until refactored.
231232
func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.API, io.Closer, error)) *clibase.Cmd {
232233
if newAPI == nil {
233234
newAPI = func(_ context.Context, o *coderd.Options) (*coderd.API, io.Closer, error) {

0 commit comments

Comments
 (0)