Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"snet organization print-metadata" requires organization name despite there is no such entity in Registry contract anymore #349

Open
vsbogd opened this issue Nov 7, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@vsbogd
Copy link
Member

vsbogd commented Nov 7, 2019

# snet organization print-metadata snet
error: the following arguments are required: org_id

usage: snet organization print-metadata [-h] org_name org_id

positional arguments:
  org_name    Organization name
  org_id      Organization Id

optional arguments:
  -h, --help  show this help message and exit
@vsbogd vsbogd added the bug Something isn't working label Nov 7, 2019
@arturgontijo
Copy link
Contributor

The org_name is a field of the organization_metadata.json but it's really not necessary to get the metadata.

Users can get the organization's metadata using anything on org_name argument:

$ snet organization print-metadata not-a-name snet

So we just need to remove this argument.

@vsbogd
Copy link
Member Author

vsbogd commented Nov 7, 2019

Looks like orgName in contract was replaced by metadataURI and since that some snet-cli functionality requires modification. See #348 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants