diff --git a/pkg/image/models/images.go b/pkg/image/models/images.go index da2b637933..92e7679740 100644 --- a/pkg/image/models/images.go +++ b/pkg/image/models/images.go @@ -2102,6 +2102,10 @@ func (img *SImage) Pipeline(ctx context.Context, userCred mcclient.TokenCredenti } notifyclient.SystemNotifyWithCtx(ctx, notify.NotifyPriorityNormal, notifyclient.IMAGE_ACTIVED, kwargs) notifyclient.NotifyImportantWithCtx(ctx, []string{userCred.GetUserId()}, false, notifyclient.IMAGE_ACTIVED, kwargs) + notifyclient.EventNotify(ctx, userCred, notifyclient.SEventNotifyParam{ + Obj: img, + Action: notifyclient.ActionCreate, + }) } return nil }