Add the ability to blacklist v2 for specific versions

This commit is contained in:
Jake Moshenko 2015-12-15 16:21:06 -05:00
parent 4a84388f15
commit 766d60493f
7 changed files with 97 additions and 2 deletions

View file

@ -193,6 +193,10 @@ class DefaultConfig(object):
# Feature Flag: Whether the v2/ endpoint is visible
FEATURE_ADVERTISE_V2 = True
# Semver spec for which Docker versions we will blacklist
# Documentation: http://pythonhosted.org/semantic_version/reference.html#semantic_version.Spec
BLACKLIST_V2_SPEC = '<1.6.0'
BUILD_MANAGER = ('enterprise', {})
DISTRIBUTED_STORAGE_CONFIG = {