mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-20 23:57:42 +01:00
Merge pull request #12381 from wy65701436/fix-delete-manifest
fix delete manifest route issue
This commit is contained in:
commit
650142e536
@ -33,6 +33,6 @@ func newRouter(conf config.Configuration) http.Handler {
|
||||
|
||||
rootRouter.Path("/api/registry/gc").Methods(http.MethodPost).Handler(gc.NewHandler(conf.RegistryConfig))
|
||||
rootRouter.Path("/api/registry/blob/{reference}").Methods(http.MethodDelete).Handler(blob.NewHandler(conf.StorageDriver))
|
||||
rootRouter.Path("/api/registry/{name}/manifests/{reference}").Methods(http.MethodDelete).Handler(manifest.NewHandler(conf.StorageDriver))
|
||||
rootRouter.Path("/api/registry/{name:.*}/manifests/{reference}").Methods(http.MethodDelete).Handler(manifest.NewHandler(conf.StorageDriver))
|
||||
return rootRouter
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user