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

[NOTE] API "POST /internal/syncregistry" not work as expect #27

Open
moooofly opened this issue Nov 6, 2018 · 0 comments
Open

[NOTE] API "POST /internal/syncregistry" not work as expect #27

moooofly opened this issue Nov 6, 2018 · 0 comments
Assignees
Labels
bug Something isn't working note markdown some conclusions v1.6.0-66709daa

Comments

@moooofly
Copy link
Owner

moooofly commented Nov 6, 2018

by swagger file

image

by harborctl

[#682#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$./harborctl internal syncregistry -h
This endpoint is for syncing all repositories of registry with database.

Usage:
  harborctl internal syncregistry [flags]

Flags:
  -h, --help   help for syncregistry

Global Flags:
      --config string   config file (default is $HOME/, working dir (.), and ./conf dir)
[#685#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$
[#685#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$./harborctl internal syncregistry
==> POST https://localhost/api/internal/syncregistry
<==
<== Rsp Status: 415 Unsupported Media Type
<== Rsp Body:
[#686#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$
@moooofly moooofly added bug Something isn't working note markdown some conclusions v1.6.0-66709daa labels Nov 6, 2018
@moooofly moooofly self-assigned this Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working note markdown some conclusions v1.6.0-66709daa
Projects
None yet
Development

No branches or pull requests

1 participant