Skip to content

Commit

Permalink
Rename instances of error
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia committed Sep 23, 2022
1 parent 09e9b40 commit c073770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (r *relayList) Set(value string) error {
return err
}
if r.Contains(relay) {
return ErrDuplicateEntry
return errDuplicateEntry
}
*r = append(*r, relay)
return nil
Expand Down Expand Up @@ -61,7 +61,7 @@ func (rm *relayMonitorList) Set(value string) error {
return err
}
if rm.Contains(relayMonitor) {
return ErrDuplicateEntry
return errDuplicateEntry
}
*rm = append(*rm, relayMonitor)
return nil
Expand Down

0 comments on commit c073770

Please sign in to comment.