mirror of
https://github.com/Quiq/docker-registry-ui.git
synced 2025-09-04 22:50:43 +00:00
Add MySQL along with sqlite3 support as a registry events storage.
This commit is contained in:
@@ -34,7 +34,7 @@ func (p timeSlice) Swap(i, j int) {
|
||||
|
||||
// PurgeOldTags purge old tags.
|
||||
func PurgeOldTags(client *Client, purgeDryRun bool, purgeTagsKeepDays, purgeTagsKeepCount int) {
|
||||
logger := setupLogging("registry.tasks.PurgeOldTags")
|
||||
logger := SetupLogging("registry.tasks.PurgeOldTags")
|
||||
// Reduce client logging.
|
||||
client.logger.SetLevel(logging.LevelError)
|
||||
|
||||
|
Reference in New Issue
Block a user