metrics: sync config key with recent Leap changes.

This commit is contained in:
Jimmy Berry 2018-11-28 18:47:45 -06:00
parent 1abca4088a
commit 2df0813d36

View File

@ -28,7 +28,7 @@ Point = namedtuple('Point', ['measurement', 'tags', 'fields', 'time', 'delta'])
# Duplicate Leap config to handle 13.2 without issue.
osclib.conf.DEFAULT[
r'openSUSE:(?P<project>[\d.]+)$'] = osclib.conf.DEFAULT[
r'openSUSE:(?P<project>Leap:(?P<version>[\d.]+)(?::Ports)?)$']
r'openSUSE:(?P<project>Leap:(?P<version>[\d.]+))(?::NonFree)?$']
# Provide osc.core.get_request_list() that swaps out search() implementation to
# capture the generated query, paginate over and yield each request to avoid