From 4b3ed59d2a76155cc0db5b6f8b066aaafa3d10ff Mon Sep 17 00:00:00 2001 From: OleksandrChaika Date: Wed, 5 Jul 2023 14:32:14 +0200 Subject: [PATCH] Fix workflow error --- src/Context.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Context.h b/src/Context.h index b02088a..791ec7d 100644 --- a/src/Context.h +++ b/src/Context.h @@ -23,6 +23,7 @@ #include "Mqtt/IMqttMessagingProtocol.h" #include "Mqtt/IMqttProcessor.h" #include "Utils/IBundleChecker.h" +#include "Defaults.h" #include @@ -55,10 +56,10 @@ namespace sua { std::shared_ptr messagingProtocol; std::shared_ptr mqttProcessor; std::shared_ptr bundleChecker; - std::string updatesDirectory; + std::string updatesDirectory = SUA_DEFAULT_TEMP_DIRECTORY; std::string tempFileName = "/temp_file"; - std::string caDirectory; - std::string caFilepath; + std::string caDirectory = SUA_DEFAULT_CA_DIRECTORY; + std::string caFilepath = SUA_DEFAULT_CA_FILEPATH; bool downloadMode = true; bool fallbackMode = false;