Merge branch 'cc-5709-airtime-analyzer-cloud-storage' into cc-5709-airtime-analyzer-cloud-storage-saas
This commit is contained in:
commit
4b10e024da
@ -41,7 +41,7 @@ class CloudFile extends BaseCloudFile
|
||||
$scheme = $endpoint->getScheme();
|
||||
$host = $endpoint->getHost();
|
||||
$s3_bucket = $amazon_s3->getBucket();
|
||||
return "$scheme://$host/$s3_bucket/".utf8_encode($resource_id);
|
||||
return "$scheme://$s3_bucket.$host/".utf8_encode($resource_id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -7,7 +7,7 @@ import hashlib
|
||||
from libcloud.storage.types import Provider, ObjectDoesNotExistError
|
||||
from libcloud.storage.providers import get_driver
|
||||
|
||||
CONFIG_PATH = '/etc/airtime/airtime.conf'
|
||||
CONFIG_PATH = '/etc/airtime-saas/amazon.conf'
|
||||
|
||||
class CloudStorageDownloader:
|
||||
""" A class that uses Apache Libcloud's Storage API to download objects from
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user