feat: Update 2 files
All checks were successful
Build-Test-Publish / build (linux/arm64) (push) Successful in 1m4s
Build-Test-Publish / build (linux/amd64) (push) Successful in 1m47s

This commit is contained in:
Your Name
2025-09-08 20:08:32 +12:00
parent af3f045732
commit ff4c0e9d54
2 changed files with 7 additions and 3 deletions

View File

@@ -142,7 +142,11 @@ namespace dropshell
service.service_template_hash_match = false;
if (it == variables.end())
error << "Variable TEMPLATE_HASH not found in the service " << filenames::template_info_env << " for "<<server_name << " - "<< service.template_name << std::endl;
{
// For backward compatibility with services created before hash mechanism
debug << "TEMPLATE_HASH not found in " << filenames::template_info_env << " for " << server_name << " - " << service.template_name
<< " (service may have been created before hash tracking was implemented)" << std::endl;
}
else if (tinfo.is_set())
{
std::string template_hash_str = it->second;