Fix Typo's

This commit is contained in:
stefanbenten
2020-03-06 15:43:14 +01:00
parent 38996c9c7f
commit fdca501681
2 changed files with 4 additions and 4 deletions

View File

@ -159,7 +159,7 @@ To use a custom non-AWS S3 provider, you need to specify the endpoint as defined
To use the Storj Network as storage provider you need to specify the following flags: To use the Storj Network as storage provider you need to specify the following flags:
- provider `--provider storj` - provider `--provider storj`
- storj-scope _(either via flag or environment variable STORJ_SCOPE)_ - storj-access _(either via flag or environment variable STORJ_ACCESS)_
- storj-bucket _(either via flag or environment variable STORJ_BUCKET)_ - storj-bucket _(either via flag or environment variable STORJ_BUCKET)_
### Creating Bucket and Scope ### Creating Bucket and Scope
@ -179,8 +179,8 @@ transfer.sh endpoint. For enhanced security its recommended to provide both the
Example: Example:
``` ```
export STORJ_BUCKET=transfersh export STORJ_BUCKET=transfersh
export STORJ_SCOPE=<SCOPE> export STORJ_ACCESS=<SCOPE>
transfer.sh --provider storj (--storj-skip-peer-ca) transfer.sh --provider storj
``` ```
## Google Drive Usage ## Google Drive Usage

View File

@ -671,7 +671,7 @@ func (s *StorjStorage) Put(token string, filename string, reader io.Reader, cont
_ = writer.Abort() _ = writer.Abort()
return err return err
} }
err = writer.SetCustomMetadata(ctx, uplink.CustomMetadata{"ContentType": contentType}) err = writer.SetCustomMetadata(ctx, uplink.CustomMetadata{"contentType": contentType})
if err != nil { if err != nil {
//Ignoring the error to return the one that occurred first, but try to clean up. //Ignoring the error to return the one that occurred first, but try to clean up.
_ = writer.Abort() _ = writer.Abort()