Move template list cache to ~/.dropshell/temp_files/ out of git repos
This commit is contained in:
@@ -42,7 +42,7 @@ namespace dropshell {
|
||||
static const std::string dropshell_json = "dropshell.json";
|
||||
static const std::string ds_run = "ds_run.sh";
|
||||
static const std::string template_paths_json = "template_paths.json";
|
||||
static const std::string dropshell_templates_list = "dropshell-templates.list";
|
||||
|
||||
static const std::string overrides_env = "overrides.env";
|
||||
} // namespace filenames.
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ std::vector<OverrideChange> apply_overrides(
|
||||
// Apply each override, skipping variables not defined in the template
|
||||
for (const auto& [key, new_val] : override_vars) {
|
||||
if (!allowed_vars.empty() && allowed_vars.find(key) == allowed_vars.end()) {
|
||||
warning << "Override skipped: " << key << " is not defined in the template for " << service_name << std::endl;
|
||||
debug << "Override skipped: " << key << " is not defined in the template for " << service_name << std::endl;
|
||||
continue;
|
||||
}
|
||||
std::string current_val = service_env.get_variable(key);
|
||||
|
||||
Reference in New Issue
Block a user