Merge "Remove deprecated "checks_api" syntax"

This commit is contained in:
Zuul 2019-10-23 23:18:11 +00:00 committed by Gerrit Code Review
commit 360f1e9fd3
1 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,7 @@ class GerritReporter(BaseReporter):
action = self.config.copy()
self._create_comment = action.pop('comment', True)
self._submit = action.pop('submit', False)
self._checks_api = action.pop('checks-api',
action.pop('checks_api', None))
self._checks_api = action.pop('checks-api', None)
self._labels = action
def _getFileComments(self, item):