Skip to content

Commit f4835b2

Browse files
committed
fix
1 parent 31622a4 commit f4835b2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/chart/ChartService.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,12 @@ func (impl *ChartServiceImpl) UpdateAppOverride(ctx context.Context, templateReq
730730
return nil, err
731731
}
732732

733+
err = impl.chartRepository.CommitTx(tx)
734+
if err != nil {
735+
impl.logger.Errorw("error in committing transaction to update charts", "appId", templateRequest.AppId, "error", err)
736+
return nil, err
737+
}
738+
733739
//VARIABLE_MAPPING_UPDATE
734740
err = impl.scopedVariableManager.ExtractAndMapVariables(template.GlobalOverride, template.Id, variablesRepository.EntityTypeDeploymentTemplateAppLevel, template.CreatedBy, nil)
735741
if err != nil {

0 commit comments

Comments
 (0)