From f3fe21881df5c6bdfe5346522a41564e3e34e1a6 Mon Sep 17 00:00:00 2001
From: Simon Spannagel <simon.spannagel@cern.ch>
Date: Thu, 18 Jul 2024 20:14:13 +0200
Subject: [PATCH] cxx/satellite: advertise get_run_id method

---
 cxx/constellation/satellite/BaseSatellite.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cxx/constellation/satellite/BaseSatellite.cpp b/cxx/constellation/satellite/BaseSatellite.cpp
index 813566699..982591e17 100644
--- a/cxx/constellation/satellite/BaseSatellite.cpp
+++ b/cxx/constellation/satellite/BaseSatellite.cpp
@@ -180,6 +180,7 @@ BaseSatellite::handle_standard_command(std::string_view command) {
         command_dict["get_status"] = "Get status of satellite";
         command_dict["get_config"] =
             "Get config of satellite (returned in payload as flat MessagePack dict with strings as keys)";
+        command_dict["get_run_id"] = "Current or last run identifier";
 
         // Append user commands
         const auto user_commands = user_commands_.describeCommands();
-- 
GitLab