Fix typo in comment
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
1 parent
be6a2efcc4
commit
034a5ab677
1 file changed
+1
-1
@@ -51,7 +51,7 @@ func (srl *safeRouteList) List() []model.Route {
|
||||
}
|
||||
|
||||
func (srl *safeRouteList) Delete(ID string) error {
|
||||
// TODO: Refactor with `refer` if applicable
|
||||
// TODO: Refactor with `defer` if applicable
|
||||
srl.m.Lock()
|
||||
for i := 0; i < len(srl.rs); i++ {
|
||||
if srl.rs[i].ID == ID {
|
||||
|
||||
Reference in new issue
Block a user