File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1599,7 +1599,8 @@ func (impl HelmAppServiceImpl) UpgradeReleaseWithCustomChart(ctx context.Context
15991599 }
16001600
16011601 impl .logger .Debug ("Upgrading release" )
1602- _ , err = helmClientObj .UpgradeReleaseWithChartInfo (context .Background (), updateChartSpec )
1602+ res , err := helmClientObj .UpgradeReleaseWithChartInfo (context .Background (), updateChartSpec )
1603+ impl .logger .Debugw ("response form UpgradeReleaseWithChartInfo" , "res" , res )
16031604 if UpgradeErr , ok := err .(* driver.StorageDriverError ); ok {
16041605 if UpgradeErr != nil {
16051606 if UpgradeErr .Err == driver .ErrNoDeployedReleases {
@@ -1615,6 +1616,11 @@ func (impl HelmAppServiceImpl) UpgradeReleaseWithCustomChart(ctx context.Context
16151616
16161617 }
16171618 }
1619+ } else if err != nil {
1620+
1621+ impl .logger .Errorw ("Error in upgrade release with chart info" , "err" , err )
1622+ return false , err
1623+
16181624 }
16191625 return true , nil
16201626}
You can’t perform that action at this time.
0 commit comments