Rename kind to kinds in config

This commit is contained in:
Mikhail Gordeev 2019-04-08 01:21:09 +03:00
parent d787bb97d6
commit 0a7fe3ada7
2 changed files with 4 additions and 4 deletions

View File

@ -226,7 +226,7 @@ class CB:
return list(self._images.keys())
def kinds_by_image(self, image: str) -> List[str]:
return self._images[image]['kind']
return self._images[image]['kinds']
def target_by_image(self, image: str) -> str:
return self._images[image]['target']

View File

@ -5,17 +5,17 @@ key: '0x00000000'
images:
opennebula:
target: vm/opennebula-systemd
kind:
kinds:
- qcow2
skip_arches:
- aarch64
rootfs-minimal:
target: ve/docker
kind:
kinds:
- tar.xz
rootfs-systemd:
target: ve/systemd-base
kind:
kinds:
- tar.xz
branches: