Skip to content

Commit

Permalink
fix: corrects the with_org usage
Browse files Browse the repository at this point in the history
  • Loading branch information
pallabpain committed May 13, 2024
1 parent ab3e5ca commit 29d4ae4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion riocli/configtree/revision.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion riocli/configtree/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 29d4ae4

Please sign in to comment.