mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-08 14:29:45 +00:00
Add s390x to juju kubernetes
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user