-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new
ModuleRuntime::list_with_details
(#503)
Some of the existing code used `ModuleRuntime::list` to list all modules, then called `Module::runtime_state` for each of them. This can fail if a module is deleted after it's returned in the `list` result and before its `runtime_state` is called. The new `list_with_details` API filters out those modules whose `runtime_state` fails with `NotFound`.
- Loading branch information
Showing
10 changed files
with
384 additions
and
117 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
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
Oops, something went wrong.