Skip to content

Commit 855329c

Browse files
committed
fix use org function param order
1 parent 4a31dde commit 855329c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

netfoundry/ctl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ def demo(cli):
10461046
cli.log.info("Demo Guide: https://developer.netfoundry.io/guides/demo/")
10471047

10481048

1049-
def use_organization(cli, prompt: bool = True, spinner: object = None):
1049+
def use_organization(cli, spinner: object = None, prompt: bool = True):
10501050
"""Cache an expiring token for an identity and configure access to the network domain."""
10511051
if not spinner:
10521052
spinner = get_spinner(cli, "working")

netfoundry/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def find_generic_resources(url: str, headers: dict, embedded: str = None, proxie
314314
params = dict()
315315
# validate and store the resource type
316316
resource_type = get_resource_type_by_url(url)
317-
if resource_type.name in HOSTABLE_NET_RESOURCES.keys():
317+
if HOSTABLE_NET_RESOURCES.get(resource_type.name):
318318
params['embed'] = "host"
319319
elif resource_type.name in ["process-executions"]:
320320
params['beta'] = str()

0 commit comments

Comments
 (0)