Skip to content

Commit

Permalink
fix: make golint works (#373)
Browse files Browse the repository at this point in the history
Co-authored-by: anrs <[email protected]>
  • Loading branch information
anrs and anrs authored Mar 30, 2021
1 parent 789ca9d commit 6d5814b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cluster/calcium/lambda.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (c *Calcium) RunAndWait(ctx context.Context, opts *types.DeployOptions, inC
return nil, errors.WithStack(types.ErrRunAndWaitCountOneWithStdin)
}

commit, err := c.walCreateLambda(ctx, opts)
commit, err := c.walCreateLambda(opts)
if err != nil {
return nil, logger.Err(err)
}
Expand Down Expand Up @@ -134,7 +134,7 @@ func (c *Calcium) RunAndWait(ctx context.Context, opts *types.DeployOptions, inC
return runMsgCh, nil
}

func (c *Calcium) walCreateLambda(ctx context.Context, opts *types.DeployOptions) (wal.Commit, error) {
func (c *Calcium) walCreateLambda(opts *types.DeployOptions) (wal.Commit, error) {
uid, err := uuid.NewRandom()
if err != nil {
return nil, errors.WithStack(err)
Expand Down

0 comments on commit 6d5814b

Please sign in to comment.