From d0152c3ec7d61650aa78fdaec959323b409346da Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 18 May 2025 11:50:23 +1200 Subject: [PATCH] dropshell release 2025.0518.1150 --- source/src/commands/list.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/src/commands/list.cpp b/source/src/commands/list.cpp index 48c5d5b..0d829be 100644 --- a/source/src/commands/list.cpp +++ b/source/src/commands/list.cpp @@ -7,6 +7,7 @@ #include "tableprint.hpp" #include "transwarp.hpp" #include "server_env_manager.hpp" +#include "services.hpp" #include #include @@ -161,7 +162,7 @@ void show_server_details(const std::string& server_name) { // list services, and run healthcheck on each { tableprint tp("Services: " + server_name, false); - tp.add_row({"Status", "Service", "Ports"}); + tp.add_row({"Status", "Service", "Template","Ports"}); std::map status = shared_commands::get_all_services_status(server_name); @@ -175,7 +176,7 @@ void show_server_details(const std::string& server_name) { for (const auto& port : service_status.ports) ports_str += std::to_string(port) + " "; - tp.add_row({healthy, service_name, ports_str}); + tp.add_row({healthy, service_name, get_service_info(server_name,service_name).template_name, ports_str}); } // end of for (const auto& service : services) tp.print(); } // end of list services