Code Review Tweaks

This commit is contained in:
stefanbenten
2020-03-06 20:36:46 +01:00
parent fdca501681
commit 924275e45b
4 changed files with 48 additions and 23 deletions

View File

@ -376,7 +376,7 @@ func New() *Cmd {
}
case "storj":
if access := c.String("storj-access"); access == "" {
panic("storj-scope not set.")
panic("storj-access not set.")
} else if bucket := c.String("storj-bucket"); bucket == "" {
panic("storj-bucket not set.")
} else if storage, err := server.NewStorjStorage(access, bucket, logger); err != nil {