Skip to content

Commit

Permalink
add priority in route (apache#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
gxthrj authored Jun 19, 2020
1 parent 0594bf1 commit ded2666
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/service/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func (rd *Route) Parse(r *RouteRequest, arr *ApisixRouteRequest) error {
}
timestamp := time.Now().Unix()
rd.CreateTime = timestamp
rd.Priority = r.Priority
return nil
}

Expand Down

0 comments on commit ded2666

Please sign in to comment.