提交 81ee9511 编写于 作者: C Cleber Rosa

avocado/utils/vmimage.py: fix build usage

The build of a given image, when given to avocado.utils.vmimage.get()
is incorrectly being assigned the same version number.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 9f68be80
......@@ -407,7 +407,7 @@ def get(name=None, version=None, build=None, arch=None, checksum=None,
if version is not None:
provider_args['version'] = version
if build is not None:
provider_args['build'] = version
provider_args['build'] = build
if arch is not None:
provider_args['arch'] = arch
if name == 'fedora' and arch in ('ppc64', 'ppc64le'):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册