Skip to content

Commit

Permalink
šŸ› fix(errors.go): change status field from lowercase to uppercase in ā€¦
Browse files Browse the repository at this point in the history
ā€¦ErrUnsupportedStatus struct
  • Loading branch information
andskur committed Mar 21, 2023
1 parent 42aea0f commit f53c191
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import "fmt"
// ErrUnsupportedStatus is error when
// service status is unsupported
type ErrUnsupportedStatus struct {
status string
Status string
}

// Error is throw error as a string
func (e ErrUnsupportedStatus) Error() string {
return fmt.Sprintf("unsupported service status %q", e.status)
return fmt.Sprintf("unsupported service status %q", e.Status)
}

0 comments on commit f53c191

Please sign in to comment.