Replace storage backend 'pillar' with 'local'

The backend 'pillar' is obsolete; 'local' is the modernity and uses our
nice storage API.
This commit is contained in:
2018-01-26 14:13:03 +01:00
parent 75e2402420
commit 2e2314c16b
4 changed files with 5 additions and 5 deletions

View File

@@ -363,7 +363,7 @@ def generate_link(backend, file_path: str, project_id: str=None, is_public=False
return blob.get_url(is_public=is_public)
if backend == 'pillar':
if backend == 'pillar': # obsolete, replace with local.
return url_for('file_storage.index', file_name=file_path,
_external=True, _scheme=current_app.config['SCHEME'])
if backend == 'cdnsun':

View File

@@ -16,7 +16,7 @@ node_type_storage = {
'subdir': {
'type': 'string',
},
# Which backend is used to store the files (gcs, pillar, bam, cdnsun)
# Which backend is used to store the files (gcs, local)
'backend': {
'type': 'string',
},