Add how to use local file
default_data_uri option can handle local file already, so this patch adds how to use local file for the option. This comes from the commit I558238dbfc633793013451f836c7ce449e94c6c5 Change-Id: I1498f46731db0735685461faa4de940766354931
This commit is contained in:
committed by
Ken'ichi Ohmichi
parent
798692e0ee
commit
bacad8b044
@@ -27,7 +27,9 @@ PROCESSOR_OPTS = [
|
||||
cfg.StrOpt('default-data-uri',
|
||||
default='https://git.openstack.org/cgit/'
|
||||
'openstack/stackalytics/plain/etc/default_data.json',
|
||||
help='URI for default data'),
|
||||
help='URI for default data. A local file can be used with the '
|
||||
'prefix "file://". For example, '
|
||||
'default_data_uri = file:///path/to/default_data.json'),
|
||||
cfg.StrOpt('sources-root', default='/var/local/stackalytics',
|
||||
help='The folder that holds all project sources to analyze'),
|
||||
cfg.IntOpt('days_to_update_members', default=30,
|
||||
|
||||
Reference in New Issue
Block a user