Purge old resources after updating
This commit is contained in:
@@ -307,6 +307,9 @@ func checkForUpdates(ctx context.Context) (err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Purge old resources
|
||||||
|
registry.Purge(3)
|
||||||
|
|
||||||
module.TriggerEvent(ResourceUpdateEvent, nil)
|
module.TriggerEvent(ResourceUpdateEvent, nil)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user