Skip to content

Commit 934fcdb

Browse files
Merge branch 'eclipse-leda:main' into main
2 parents ee890ec + 0c59596 commit 934fcdb

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/FSM/States/Connected.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace sua {
3737

3838
FotaEvent Connected::body(Context& ctx)
3939
{
40-
Logger::info("Bundle version (last): '{}'", ctx.currentState.version);
40+
Logger::info("System version, installed: '{}'", ctx.currentState.version);
4141

4242
send(ctx, IMqttProcessor::TOPIC_FEEDBACK, "identifying");
4343

src/FSM/States/Installed.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace sua {
2626
{
2727
ctx.currentState.version = ctx.desiredState.bundleVersion;
2828

29-
Logger::info("System version (installed): '{}'", ctx.currentState.version);
29+
Logger::info("System version, installed: '{}'", ctx.currentState.version);
3030
send(ctx, IMqttProcessor::TOPIC_FEEDBACK, "currentState");
3131

3232
ctx.stateMachine->handleEvent(FotaEvent::Waiting);

src/FSM/States/Uninitialized.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace sua {
2727
void Uninitialized::onEnter(Context& ctx)
2828
{
2929
ctx.currentState.version = ctx.installerAgent->getBundleVersion();
30-
Logger::info("System version (slot): '{}'", ctx.currentState.version);
30+
Logger::info("System version, installed: '{}'", ctx.currentState.version);
3131
}
3232

3333
} // namespace sua

src/Utils/BundleChecker.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ namespace sua {
2424
{
2525
std::string slotVersion = installer->getBundleVersion();
2626

27-
Logger::info("Bundle version (slot): '{}'", slotVersion);
28-
Logger::info("Bundle version (file): '{}'", updateBundleVersion);
27+
Logger::info("System version, installed: '{}'", slotVersion);
28+
Logger::info("Bundle version, from file: '{}'", updateBundleVersion);
2929

3030
return slotVersion != updateBundleVersion;
3131
}
@@ -36,8 +36,8 @@ namespace sua {
3636
{
3737
std::string updateBundleVersion = installer->getBundleVersion(bundlePath);
3838

39-
Logger::info("Bundle version (spec): '{}'", declaredVersion);
40-
Logger::info("Bundle version (file): '{}'", updateBundleVersion);
39+
Logger::info("Bundle version, from spec: '{}'", declaredVersion);
40+
Logger::info("Bundle version, from file: '{}'", updateBundleVersion);
4141

4242
return declaredVersion == updateBundleVersion;
4343
}

0 commit comments

Comments
 (0)