Skip to content

Commit

Permalink
clarify error message (#90)
Browse files Browse the repository at this point in the history
* clarify error message

* feedback
  • Loading branch information
andrewkmin authored May 7, 2024
1 parent 25dc7e2 commit 30f8d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/operator/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func validateAndReturnConfig(configurationFilePath string) (*types.OperatorConfi

err = operatorCfg.Operator.Validate()
if err != nil {
return nil, fmt.Errorf("%w: with error %s", ErrInvalidYamlFile, err.Error())
return nil, fmt.Errorf("\r%w: with error %s", ErrInvalidYamlFile, err.Error())
}

err = validateMetadata(operatorCfg)
Expand Down

0 comments on commit 30f8d2c

Please sign in to comment.