moving download url config from a key to the storage url pattern

This commit is contained in:
Arno Hautala
2020-02-25 20:53:19 -05:00
parent 46ce0ba1fb
commit 499b612a0d
2 changed files with 19 additions and 1 deletions

View File

@@ -329,6 +329,7 @@ func (client *B2Client) AuthorizeAccount(threadIndex int) (err error, allowed bo
if client.DownloadURL == "" {
client.DownloadURL = output.DownloadURL
}
LOG_INFO("BACKBLAZE_URL", "download URL is: %s", client.DownloadURL)
client.IsAuthorized = true
client.LastAuthorizationTime = time.Now().Unix()