From a9e187d38a221d790dd9c9a10354d510aebd6187 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 7 Sep 2020 19:03:15 +0200 Subject: [PATCH] plugin/hub: rename method to osbuildImage Remove the 'Test' suffix. --- compose.py | 2 +- plugins/hub/osbuild.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compose.py b/compose.py index afd9923..abed3e5 100755 --- a/compose.py +++ b/compose.py @@ -57,7 +57,7 @@ def main(): if opts: pprint(opts) - session.osbuildImageTest(name, version, arch, target, opts=opts) + session.osbuildImage(name, version, arch, target, opts=opts) if __name__ == "__main__": diff --git a/plugins/hub/osbuild.py b/plugins/hub/osbuild.py index 93c9409..fb508e4 100644 --- a/plugins/hub/osbuild.py +++ b/plugins/hub/osbuild.py @@ -9,7 +9,7 @@ import kojihub @koji.plugin.export -def osbuildImageTest(name, version, arches, target, opts=None, priority=None): +def osbuildImage(name, version, arches, target, opts=None, priority=None): """Create an image via osbuild""" context.session.assertPerm("image") args = [name, version, arches, target, opts]