Skip to content

Commit 57338c3

Browse files
committed
refactor: remove nolint comment
1 parent dc43c71 commit 57338c3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

cmd/tuple/import.go

+6-4
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ import (
3131
"github.com/openfga/cli/internal/output"
3232
)
3333

34-
// MaxTuplesPerWrite Limit the tuples in a single batch.
35-
var MaxTuplesPerWrite = int32(1)
34+
const (
35+
// MaxTuplesPerWrite Limit the tuples in a single batch.
36+
MaxTuplesPerWrite = 1
3637

37-
// MaxParallelRequests Limit the parallel writes to the API.
38-
var MaxParallelRequests = int32(10) //nolint:mnd
38+
// MaxParallelRequests Limit the parallel writes to the API.
39+
MaxParallelRequests = 10
40+
)
3941

4042
type failedWriteResponse struct {
4143
TupleKey client.ClientTupleKey `json:"tuple_key"`

0 commit comments

Comments
 (0)