Add s390x to juju kubernetes

This commit is contained in:
Konstantinos Tsakalozos
2017-09-15 15:40:21 +03:00
parent b5fbd71bbc
commit b6f399f4fa
2 changed files with 8 additions and 3 deletions

View File

@@ -179,7 +179,8 @@ def install_cni_plugins():
# Get the resource via resource_get
try:
archive = hookenv.resource_get('cni')
resource_name = 'cni-{}'.format(arch())
archive = hookenv.resource_get(resource_name)
except Exception:
message = 'Error fetching the cni resource.'
hookenv.log(message)