diff --git a/riocli/configtree/revision.py b/riocli/configtree/revision.py index b1232854..d3d983b6 100644 --- a/riocli/configtree/revision.py +++ b/riocli/configtree/revision.py @@ -41,7 +41,7 @@ def __init__(self, tree_name: str, commit: bool = False, force_new: bool = False, spinner: Optional[Yaspin] = None, - with_org: bool = True): + with_project: bool = True): self._tree_name = tree_name self._client = client diff --git a/riocli/configtree/tree.py b/riocli/configtree/tree.py index a4f383ab..72674f39 100644 --- a/riocli/configtree/tree.py +++ b/riocli/configtree/tree.py @@ -49,7 +49,7 @@ def create_config_tree( config = get_config_from_context(ctx) try: - client = config.new_v2_client(with_project=with_org) + client = config.new_v2_client(with_project=(not with_org)) payload = { "kind": "ConfigTree", "apiVersion": "api.rapyuta.io/v2",