mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-05 06:04:35 +08:00
fix: Resolve the issue of local application label loss (#7926)
This commit is contained in:
parent
a357d6697d
commit
10203d5c0c
1 changed files with 3 additions and 1 deletions
|
@ -13,8 +13,10 @@ func NewAppStoreJob() *app {
|
|||
|
||||
func (a *app) Run() {
|
||||
global.LOG.Info("AppStore scheduled task in progress ...")
|
||||
if err := service.NewIAppService().SyncAppListFromRemote(); err != nil {
|
||||
appService := service.NewIAppService()
|
||||
if err := appService.SyncAppListFromRemote(); err != nil {
|
||||
global.LOG.Errorf("AppStore sync failed %s", err.Error())
|
||||
}
|
||||
appService.SyncAppListFromLocal()
|
||||
global.LOG.Info("AppStore scheduled task has completed")
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue