mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-20 01:48:45 +02:00
Fixed type in else
This commit is contained in:
parent
5408cf5af0
commit
055538cc21
@ -144,7 +144,7 @@ if 'CHANGELOG_RETENTION' in environ:
|
|||||||
if 'JOB_RETENTION' in environ:
|
if 'JOB_RETENTION' in environ:
|
||||||
JOB_RETENTION = _environ_get_and_map('JOB_RETENTION', None, _AS_INT)
|
JOB_RETENTION = _environ_get_and_map('JOB_RETENTION', None, _AS_INT)
|
||||||
# JOBRESULT_RETENTION was renamed to JOB_RETENTION in the v3.5.0 release of NetBox. For backwards compatibility, map JOBRESULT_RETENTION to JOB_RETENTION
|
# JOBRESULT_RETENTION was renamed to JOB_RETENTION in the v3.5.0 release of NetBox. For backwards compatibility, map JOBRESULT_RETENTION to JOB_RETENTION
|
||||||
else if 'JOBRESULT_RETENTION' in environ:
|
elif 'JOBRESULT_RETENTION' in environ:
|
||||||
JOB_RETENTION = _environ_get_and_map('JOBRESULT_RETENTION', None, _AS_INT)
|
JOB_RETENTION = _environ_get_and_map('JOBRESULT_RETENTION', None, _AS_INT)
|
||||||
|
|
||||||
# API Cross-Origin Resource Sharing (CORS) settings. If CORS_ORIGIN_ALLOW_ALL is set to True, all origins will be
|
# API Cross-Origin Resource Sharing (CORS) settings. If CORS_ORIGIN_ALLOW_ALL is set to True, all origins will be
|
||||||
|
Loading…
x
Reference in New Issue
Block a user