Skip to content

Commit

Permalink
found bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Taimoor Ahmad committed Jan 5, 2024
1 parent f66d7cc commit 7fa351a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cmd/infra.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,11 @@ func readInfraInput() (*opslevel.InfraInput, error) {
cobra.CheckErr(err)
evt := &opslevel.InfraInput{}
cobra.CheckErr(yaml.Unmarshal(file, &evt))
log.Info().Msgf("before %s %s %+v +%v\n", evt.Schema, *evt.Owner, evt.Provider, evt.Data)
if err := defaults.Set(evt); err != nil {
return nil, err
}
log.Info().Msgf("after %s %s %+v +%v\n", evt.Schema, *evt.Owner, evt.Provider, evt.Data)
panic("bye")
return evt, nil
}

0 comments on commit 7fa351a

Please sign in to comment.