mirror of
https://github.com/restic/restic.git
synced 2025-03-16 00:00:05 +01:00
fix linter warnings.
Correct method definition for unused param ctx
This commit is contained in:
parent
8a74de8b67
commit
aad1cafe97
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ func (c *conn) mountShare(share string) (err error) {
|
|||
}
|
||||
|
||||
// Get a SMB connection from the pool, or open a new one
|
||||
func (b *Backend) getConnection(ctx context.Context, share string) (c *conn, err error) {
|
||||
func (b *Backend) getConnection(_ context.Context, share string) (c *conn, err error) {
|
||||
b.poolMu.Lock()
|
||||
for len(b.pool) > 0 {
|
||||
c = b.pool[0]
|
||||
|
|
Loading…
Add table
Reference in a new issue