Skip to content

Commit

Permalink
Clarified TODO comment
Browse files Browse the repository at this point in the history
Signed-off-by: Rafa Porres Molina <rporresm@redhat.com>
  • Loading branch information
rporres committed Mar 13, 2022
1 parent 8b572bf commit b7f35ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (c *Config) UnmarshalYAML(unmarshal func(interface{}) error) error {
// To make unmarshal fill the plain data struct rather than calling UnmarshalYAML
// again, we have to hide it using a type indirection.

// TODO: Handle the empty defaults case
// TODO: This function panics when there are no defaults. This needs to be fixed.

type plain Config
if err := unmarshal((*plain)(c)); err != nil {
Expand Down

0 comments on commit b7f35ac

Please sign in to comment.