Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiccini committed Sep 11, 2024
1 parent 63a1d2d commit bd4b8a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/openstack/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func InitializeOpenStackVersionImageDefaults(ctx context.Context, envImages map[

d := reflect.ValueOf(defaults).Elem()
for key, val := range envImages {
//Log.Info(fmt.Sprintf("Initialize OpenStackVersion Image Defaults: %s", key))
Log.Info(fmt.Sprintf("Initialize OpenStackVersion Image Defaults: %s", key))

r := regexp.MustCompile(`[A-Za-z0-9]+`)
matches := r.FindAllString(key, -1)
Expand All @@ -40,7 +40,7 @@ func InitializeOpenStackVersionImageDefaults(ctx context.Context, envImages map[
// format API so we adhere to go linting standards
fieldName = strings.Replace(fieldName, "Api", "API", -1)
}
//Log.Info(fmt.Sprintf("Initialize Field name: %s", fieldName))
Log.Info(fmt.Sprintf("Initialize Field name: %s", fieldName))
field := d.FieldByName(fieldName)
if field.IsValid() && field.CanSet() {
field.Set(reflect.ValueOf(val))
Expand Down

0 comments on commit bd4b8a6

Please sign in to comment.