mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
Merge pull request #1071 from wanyaoqi/bugfix/wyq/fix-notify
glance: add normal notofy
This commit is contained in:
@@ -62,6 +62,7 @@ func (self *ImageConvertTask) OnInit(ctx context.Context, obj db.IStandaloneMode
|
||||
kwargs.Set("os_type", jsonutils.NewString(osType.Value))
|
||||
}
|
||||
notifyclient.SystemNotify(notify.NotifyPriorityNormal, notifyclient.IMAGE_ACTIVED, kwargs)
|
||||
notifyclient.NotifyImportant(self.UserCred.GetUserId(), false, notifyclient.IMAGE_ACTIVED, kwargs)
|
||||
}
|
||||
return nil, err
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user