1
0
Fork 0
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:
Steffen Vogel 2020-08-17 17:11:00 +02:00
parent de9b466ace
commit a76aabb5d2

View file

@ -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 */