2022-04-27 01:00:20 -05:00
|
|
|
//go:build !scrub
|
|
|
|
// +build !scrub
|
|
|
|
|
|
|
|
package extensions
|
|
|
|
|
|
|
|
import (
|
2024-01-31 23:34:07 -05:00
|
|
|
"zotregistry.dev/zot/pkg/api/config"
|
|
|
|
"zotregistry.dev/zot/pkg/log"
|
|
|
|
"zotregistry.dev/zot/pkg/scheduler"
|
|
|
|
"zotregistry.dev/zot/pkg/storage"
|
2022-04-27 01:00:20 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
// 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")
|
|
|
|
}
|