X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=service-exposure%2Frapps-helm-installer.go;fp=service-exposure%2Frapps-helm-installer.go;h=9dec9f7dbad595f0ea978ea5b61d49881661f1db;hb=076d02a9b303b31b58c1700d1d30b3ccdec08bf4;hp=0dc93419931675896a8b56aead7de0a00cebfc60;hpb=d27589c6c314c95ec4e8b8c4aad7743dd2593bce;p=nonrtric.git diff --git a/service-exposure/rapps-helm-installer.go b/service-exposure/rapps-helm-installer.go index 0dc93419..9dec9f7d 100644 --- a/service-exposure/rapps-helm-installer.go +++ b/service-exposure/rapps-helm-installer.go @@ -290,6 +290,7 @@ func main() { func addToRepo(url string) (string, error) { repoFile := settings.RepositoryConfig + fmt.Printf("Repo File %s\n", repoFile) //Ensure the file directory exists as it is required for file locking err := os.MkdirAll(filepath.Dir(repoFile), os.ModePerm) @@ -341,7 +342,10 @@ func dryRun() (*action.Install, error) { install := action.NewInstall(actionConfig) + fmt.Printf("Repo Name: %s\n",repoName) + fmt.Printf("Chart Name: %s\n",chartName) cp, err := install.ChartPathOptions.LocateChart(fmt.Sprintf("%s/%s", repoName, chartName), settings) + fmt.Printf("Chart location: %s\n",cp) chartRequested, err = loader.Load(cp) @@ -537,7 +541,7 @@ func registrerRapp(chartName, chartType string) { id serial PRIMARY KEY, name VARCHAR ( 50 ) UNIQUE NOT NULL, type VARCHAR ( 50 ) NOT NULL, - created_on TIMESTAMP DEFAULT NOW() + created_on TIMESTAMP DEFAULT NOW() );` _, err = db.Exec(createStmt) if err != nil {