Fix typo in comment

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
pancho horrillo
2019-10-22 16:29:54 +02:00
parent be6a2efcc4
commit 034a5ab677
+1 -1
View File
@@ -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 {