server: log route put success

This commit is contained in:
Cadey Ratio 2017-04-28 22:46:56 -07:00
parent 9342891f14
commit 08d78cf461
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ func (r *Route) Put(ctx context.Context, rt *proto.Route) (*proto.IDResponse, er
return nil, err
}
ln.Log(drt.F(), ln.F{"action": "Route.Put_success"})
return &proto.IDResponse{
Id: drt.ID,
}, nil