mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2025-01-11 11:20:18 +01:00
Rename variable for consistency
This commit is contained in:
parent
5bb0e84fa5
commit
6eabb248da
1 changed files with 2 additions and 2 deletions
|
@ -596,12 +596,12 @@ func NewStorjStorage(endpoint, apiKey, bucket, encKey string, logger *log.Logger
|
|||
return nil, uplinkFailure.Wrap(err)
|
||||
}
|
||||
|
||||
saltenckey, err := instance.project.SaltedKeyFromPassphrase(ctx, encKey)
|
||||
saltEncKey, err := instance.project.SaltedKeyFromPassphrase(ctx, encKey)
|
||||
if err != nil {
|
||||
return nil, uplinkFailure.Wrap(err)
|
||||
}
|
||||
|
||||
access := uplink.NewEncryptionAccessWithDefaultKey(*saltenckey)
|
||||
access := uplink.NewEncryptionAccessWithDefaultKey(*saltEncKey)
|
||||
|
||||
instance.bucket, err = instance.project.OpenBucket(ctx, bucket, access)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue