mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
api: fix listing of available API endpoints
This commit is contained in:
parent
de9b466ace
commit
a76aabb5d2
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
#include <villas/utils.hpp>
|
||||
#include <villas/super_node.hpp>
|
||||
#include <villas/plugin.hpp>
|
||||
#include <villas/api/action.hpp>
|
||||
#include <villas/api/request.hpp>
|
||||
#include <villas/memory.h>
|
||||
#include <villas/node.h>
|
||||
#include <villas/path.h>
|
||||
|
@ -114,7 +114,7 @@ protected:
|
|||
|
||||
#ifdef WITH_API
|
||||
std::cout << "Supported API commands:" << std::endl;
|
||||
for (Plugin *p : Registry::lookup<api::ActionFactory>())
|
||||
for (Plugin *p : Registry::lookup<api::RequestFactory>())
|
||||
std::cout << " - " << p->getName() << ": " << p->getDescription() << std::endl;
|
||||
std::cout << std::endl;
|
||||
#endif /* WITH_API */
|
||||
|
|
Loading…
Add table
Reference in a new issue