Fix default parameter in GitlabSource

The allow_refresh default parameter should be False as for the other
drivers. This is a noop change since gitlab does not use this
parameter at the moment.

Change-Id: If656c03e5f792528c20b1747bdb1f00550dde959
This commit is contained in:
Tobias Henkel
2021-03-08 14:02:50 +01:00
parent 29592c9531
commit 5f12ed4581

View File

@@ -47,7 +47,7 @@ class GitlabSource(BaseSource):
return True
return change.is_merged
def canMerge(self, change, allow_needs, event=None, allow_refresh=True):
def canMerge(self, change, allow_needs, event=None, allow_refresh=False):
"""Determine if change can merge."""
if not change.number:
return True