Skip to content

Commit 6d5814b

Browse files
anrsanrs
and
anrs
authored
fix: make golint works (#373)
Co-authored-by: anrs <anders.hu@shopee.com>
1 parent 789ca9d commit 6d5814b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cluster/calcium/lambda.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func (c *Calcium) RunAndWait(ctx context.Context, opts *types.DeployOptions, inC
3636
return nil, errors.WithStack(types.ErrRunAndWaitCountOneWithStdin)
3737
}
3838

39-
commit, err := c.walCreateLambda(ctx, opts)
39+
commit, err := c.walCreateLambda(opts)
4040
if err != nil {
4141
return nil, logger.Err(err)
4242
}
@@ -134,7 +134,7 @@ func (c *Calcium) RunAndWait(ctx context.Context, opts *types.DeployOptions, inC
134134
return runMsgCh, nil
135135
}
136136

137-
func (c *Calcium) walCreateLambda(ctx context.Context, opts *types.DeployOptions) (wal.Commit, error) {
137+
func (c *Calcium) walCreateLambda(opts *types.DeployOptions) (wal.Commit, error) {
138138
uid, err := uuid.NewRandom()
139139
if err != nil {
140140
return nil, errors.WithStack(err)

0 commit comments

Comments
 (0)