Skip to content

Commit c29bea2

Browse files
author
Juan Tirado
committed
Onos charm now uses assumes.
1 parent 111810d commit c29bea2

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

examples/charms/onos.charm

36 Bytes
Binary file not shown.

examples/charms/ubuntu/metadata.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@ tags:
2121
- misc
2222
- application_development
2323
subordinate: false
24+
# check: https://juju.is/docs/sdk/assumes for more details
2425
assumes:
25-
- juju >= 2.9
26+
- any_of:
27+
- juju >= 2.9
28+
- k8s-api

juju/client/facade.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,6 @@ def from_json(cls, data):
674674
except TypeError:
675675
raise
676676
if isinstance(data, list):
677-
# WARNING: not tested with any-all
678677
# check: https://juju.is/docs/sdk/assumes
679678
# assumes are in the form of a list
680679
d = {}

0 commit comments

Comments
 (0)