From c0737708dae35b29df0fe6af664915b44949e3b1 Mon Sep 17 00:00:00 2001 From: Justin Traglia Date: Fri, 23 Sep 2022 14:58:40 -0500 Subject: [PATCH] Rename instances of error --- cli/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/types.go b/cli/types.go index b1404b7f..19312856 100644 --- a/cli/types.go +++ b/cli/types.go @@ -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 @@ -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