Skip to content

Commit 3ea8774

Browse files
s3: remove redundant param
1 parent 266ffbb commit 3ea8774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/backend/remote-state/s3/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ func (c *RemoteClient) lockWithFile(ctx context.Context, info *statemgr.LockInfo
381381

382382
log.Debug("Uploading lock file")
383383

384-
uploader := manager.NewUploader(c.s3Client, func(u *manager.Uploader) {})
384+
uploader := manager.NewUploader(c.s3Client)
385385
_, err = uploader.Upload(ctx, input)
386386
if err != nil {
387387
// Attempt to retrieve lock info from the file, and merge errors if it fails.

0 commit comments

Comments
 (0)