Added TODO about refactor
This commit is contained in:
@@ -51,6 +51,7 @@ func (srl *safeRouteList) List() []model.Route {
|
||||
}
|
||||
|
||||
func (srl *safeRouteList) Delete(ID string) error {
|
||||
// TODO: Refactor with `refer` 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