Skip to content

Commit 6f351d7

Browse files
committed
Ignore gocognit lint error for now
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent c93e4e2 commit 6f351d7

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
@@ -258,6 +258,7 @@ func enablePrometheus(
258258
), nil
259259
}
260260

261+
//nolint:gocognit // TODO(dannyk): reduce complexity of this function
261262
func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.API, io.Closer, error)) *serpent.Command {
262263
if newAPI == nil {
263264
newAPI = func(_ context.Context, o *coderd.Options) (*coderd.API, io.Closer, error) {

0 commit comments

Comments
 (0)