mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-05-16 13:56:11 +08:00
Replace the name of the "branch" parameter in "scm.get_latest" to "ref"
This commit is contained in:
@@ -79,8 +79,8 @@ class FakeSCM(object):
|
||||
|
||||
return self.sourcedir
|
||||
|
||||
def get_latest(self, branch='master'):
|
||||
return branch
|
||||
def get_latest(self, ref='master'):
|
||||
return ref
|
||||
|
||||
def get_module_yaml(self):
|
||||
return path.join(self.sourcedir, self.name + ".yaml")
|
||||
|
||||
Reference in New Issue
Block a user