File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import (
27
27
"io/ioutil"
28
28
"net/http"
29
29
"net/url"
30
+ "strconv"
30
31
"strings"
31
32
"time"
32
33
@@ -671,8 +672,8 @@ func (impl *ChartRepositoryServiceImpl) ValidateAndCreateChartRepo(request *Char
671
672
672
673
// Trigger chart sync job, ignore error
673
674
chartProviderConfig := & ChartProviderConfig {
674
- ChartProviderId : "*" ,
675
- IsOCIRegistry : true ,
675
+ ChartProviderId : strconv . Itoa ( chartRepo . Id ) ,
676
+ IsOCIRegistry : false ,
676
677
}
677
678
err = impl .TriggerChartSyncManual (chartProviderConfig )
678
679
if err != nil {
@@ -694,8 +695,8 @@ func (impl *ChartRepositoryServiceImpl) ValidateAndUpdateChartRepo(request *Char
694
695
695
696
// Trigger chart sync job, ignore error
696
697
chartProviderConfig := & ChartProviderConfig {
697
- ChartProviderId : "*" ,
698
- IsOCIRegistry : true ,
698
+ ChartProviderId : strconv . Itoa ( chartRepo . Id ) ,
699
+ IsOCIRegistry : false ,
699
700
}
700
701
err = impl .TriggerChartSyncManual (chartProviderConfig )
701
702
if err != nil {
You can’t perform that action at this time.
0 commit comments