-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use context provided by request in rpc server
In the ml2 mechanism driver we used a pre-created RPC context object instead of the context object provided by the call itself. That means that all calls use the same request with the same request id, which makes tracing calls harder. In one instance this also lead to the DB connection of this object being broken, which rendered the context unusable for all subsequent calls. To prevent all of this, we're now using the context provided by the request.
- Loading branch information
Showing
1 changed file
with
12 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters