Skip to content

Commit

Permalink
Fix typo in error Unwrap method
Browse files Browse the repository at this point in the history
The method name should be `Unwrap` instead `UnWrap` as per error
documents.
  • Loading branch information
praveenkumar committed Feb 4, 2021
1 parent 5029f5b commit 9429aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/crc/errors/serialerror.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ func (e *SerializableError) MarshalJSON() ([]byte, error) {
return json.Marshal(e.Error())
}

func (e *SerializableError) UnWrap() error {
func (e *SerializableError) Unwrap() error {
return e.error
}

0 comments on commit 9429aed

Please sign in to comment.