MapR: do not match "all" if a specific version is available
The "all" entry is a fallback if an entry/override for a specific version has not been specified. Change-Id: I5e57a00023cddaed691a2c701dc2e7fbd4726fe4 Closes-Bug: #1686343
This commit is contained in:
parent
b9cf0fc089
commit
8ec0c00ae0
@ -39,9 +39,6 @@ def _load_json(path):
|
|||||||
|
|
||||||
|
|
||||||
def _version_matches(version, group_version):
|
def _version_matches(version, group_version):
|
||||||
if group_version == _ALL_GROUP_VERSION:
|
|
||||||
return True
|
|
||||||
|
|
||||||
for gv in group_version.split(_GROUP_VERSION_SEPARATOR):
|
for gv in group_version.split(_GROUP_VERSION_SEPARATOR):
|
||||||
if version.startswith(gv):
|
if version.startswith(gv):
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user