mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-27 09:12:07 +01:00
Disable Nydus middleware for v2.6 (#17233)
disable nydus middleware for v2.6 Signed-off-by: yminer <yminer@vmware.com> remove nyduus module import in main.go Signed-off-by: yminer <yminer@vmware.com>
This commit is contained in:
parent
d53af792ad
commit
f7ebf20d2e
@ -56,7 +56,6 @@ import (
|
||||
"github.com/goharbor/harbor/src/migration"
|
||||
_ "github.com/goharbor/harbor/src/pkg/accessory/model/base"
|
||||
_ "github.com/goharbor/harbor/src/pkg/accessory/model/cosign"
|
||||
_ "github.com/goharbor/harbor/src/pkg/accessory/model/nydus"
|
||||
"github.com/goharbor/harbor/src/pkg/audit"
|
||||
dbCfg "github.com/goharbor/harbor/src/pkg/config/db"
|
||||
_ "github.com/goharbor/harbor/src/pkg/config/inmemory"
|
||||
|
@ -22,7 +22,6 @@ import (
|
||||
"github.com/goharbor/harbor/src/server/middleware/cosign"
|
||||
"github.com/goharbor/harbor/src/server/middleware/immutable"
|
||||
"github.com/goharbor/harbor/src/server/middleware/metric"
|
||||
"github.com/goharbor/harbor/src/server/middleware/nydus"
|
||||
"github.com/goharbor/harbor/src/server/middleware/quota"
|
||||
"github.com/goharbor/harbor/src/server/middleware/repoproxy"
|
||||
"github.com/goharbor/harbor/src/server/middleware/v2auth"
|
||||
@ -81,7 +80,6 @@ func RegisterRoutes() {
|
||||
Middleware(immutable.Middleware()).
|
||||
Middleware(quota.PutManifestMiddleware()).
|
||||
Middleware(cosign.SignatureMiddleware()).
|
||||
Middleware(nydus.AcceleratorMiddleware()).
|
||||
Middleware(blob.PutManifestMiddleware()).
|
||||
HandlerFunc(putManifest)
|
||||
// blob head
|
||||
|
Loading…
Reference in New Issue
Block a user