Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
kinarashah committed Jan 22, 2025
1 parent 5f6d167 commit cb06c83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/validation/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func validateRKE2Charts(release map[string]interface{}) error {
if err != nil {
return err
}
logrus.Infof("checking RKE2 %s %s/%s:%s", rke2Version, repo, chartName, chartVersion)
logrus.Infof("checking RKE2 %s %s/%s:%s %s", rke2Version, repo, chartName, chartVersion, fmt.Sprintf("%s/charts/%s.yaml", dir, chartName))
var info map[string]interface{}
bytes, err := os.ReadFile(fmt.Sprintf("%s/charts/%s.yaml", dir, chartName))
if err != nil {
Expand All @@ -272,6 +272,7 @@ func validateRKE2Charts(release map[string]interface{}) error {
if err != nil {
return err
}
fmt.Println("chartURL ", chartURL)
var isValidRepo bool
switch repo {
case "rancher-charts":
Expand Down

0 comments on commit cb06c83

Please sign in to comment.