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

medic: fails to register repositories using --repo #861

Closed
rdimitrov opened this issue Sep 5, 2023 · 0 comments · Fixed by #1133
Closed

medic: fails to register repositories using --repo #861

rdimitrov opened this issue Sep 5, 2023 · 0 comments · Fixed by #1133
Assignees
Labels
bug Something isn't working cli

Comments

@rdimitrov
Copy link
Member

Describe the bug

Registering a repository using the --repo "owner:repo1,owner:repo2" option fails.

To Reproduce

Steps to reproduce the behavior:

  1. Enroll Mediator
  2. medic repo register --provider github --repo "owner:repo1,owner:repo2"
  3. Enter to confirm when the interactive list is displayed

I wasn't sure of the correct syntax but tried the following options none of which worked - rdimitrov:dex, rdimitrov:rdimitrov/dex, root:rdimitrov/dex.

Expected behavior

Have a successful registration of that repository.

Screenshots

After step 3, this is the output that I get -

Error registering repositories: rpc error: code = InvalidArgument desc = InvalidArgument indicates client specified an invalid argument.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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

Successfully merging a pull request may close this issue.

1 participant