2022-04-27 01:00:20 -05:00
|
|
|
//go:build !scrub
|
|
|
|
// +build !scrub
|
|
|
|
|
|
|
|
package extensions
|
|
|
|
|
|
|
|
import (
|
|
|
|
"zotregistry.io/zot/pkg/api/config"
|
|
|
|
"zotregistry.io/zot/pkg/log"
|
2022-09-23 00:27:56 -05:00
|
|
|
"zotregistry.io/zot/pkg/scheduler"
|
2022-04-27 01:00:20 -05:00
|
|
|
"zotregistry.io/zot/pkg/storage"
|
|
|
|
)
|
|
|
|
|
|
|
|
// EnableScrubExtension ...
|
2022-09-23 00:27:56 -05:00
|
|
|
func EnableScrubExtension(config *config.Config, log log.Logger, storeController storage.StoreController,
|
|
|
|
sch *scheduler.Scheduler,
|
2022-04-27 01:00:20 -05:00
|
|
|
) {
|
|
|
|
log.Warn().Msg("skipping enabling scrub extension because given zot binary doesn't include this feature," +
|
|
|
|
"please build a binary that does so")
|
|
|
|
}
|