Skip to content

Commit 869270f

Browse files
committed
wip
1 parent dc88f25 commit 869270f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pkg/appStore/installedApp/service/AppStoreDeploymentService.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ func (impl *AppStoreDeploymentServiceImpl) InstallAppByHelm(installAppVersionReq
865865

866866
func (impl *AppStoreDeploymentServiceImpl) UpdatePreviousDeploymentStatusForAppStore(installAppVersionRequest *appStoreBean.InstallAppVersionDTO, triggeredAt time.Time, err error) error {
867867
//creating pipeline status timeline for deployment failed
868-
if !util.IsAcdApp(installAppVersionRequest.DeploymentAppType) {
868+
if !util.IsAcdApp(installAppVersionRequest.DeploymentAppType) && !util.IsFluxApp(installAppVersionRequest.DeploymentAppType) {
869869
return nil
870870
}
871871
err1 := impl.fullModeDeploymentService.UpdateInstalledAppAndPipelineStatusForFailedDeploymentStatus(installAppVersionRequest, triggeredAt, err)

pkg/appStore/installedApp/service/FullMode/deployment/DeploymentStatusService.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ type DeploymentStatusService interface {
3838

3939
func (impl *FullModeDeploymentServiceImpl) SaveTimelineForHelmApps(installAppVersionRequest *appStoreBean.InstallAppVersionDTO, status timelineStatus.TimelineStatus, statusDetail string, statusTime time.Time, tx *pg.Tx) error {
4040

41-
if !util.IsAcdApp(installAppVersionRequest.DeploymentAppType) && !util.IsManifestDownload(installAppVersionRequest.DeploymentAppType) {
41+
if !util.IsAcdApp(installAppVersionRequest.DeploymentAppType) && !util.IsManifestDownload(installAppVersionRequest.DeploymentAppType) &&
42+
!util.IsFluxApp(installAppVersionRequest.DeploymentAppType) {
4243
return nil
4344
}
4445

0 commit comments

Comments
 (0)