summaryrefslogtreecommitdiffstats
path: root/src/rest.c
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-09-28 23:05:38 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-09-30 14:41:49 +0200
commit760a82af2ced2365a8626af146ff2668b806c62f (patch)
treeaf8bba861ddcd84d6d2d48f5063861e536a6604e /src/rest.c
parent491bf6f5e9f5c6dde5d9d1ae26d0392ec247cb9d (diff)
rest: remove unused probe
unused since 87be2ce08
Diffstat (limited to 'src/rest.c')
-rw-r--r--src/rest.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rest.c b/src/rest.c
index 5ac1c3f..876c0a8 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -124,7 +124,6 @@ static const char *og_client_status(const struct og_client *cli)
{
switch (cli->last_cmd) {
case OG_CMD_UNSPEC:
- case OG_CMD_PROBE:
break;
default:
return "BSY";
@@ -219,7 +218,6 @@ int og_json_parse_partition_setup(json_t *element, struct og_msg_params *params)
static const char *og_cmd_to_uri[OG_CMD_MAX] = {
[OG_CMD_WOL] = "wol",
- [OG_CMD_PROBE] = "probe",
[OG_CMD_SHELL_RUN] = "shell/run",
[OG_CMD_SESSION] = "session",
[OG_CMD_POWEROFF] = "poweroff",