cm: launcher: change UpdateInstances to RunInstances#540
Conversation
8489da2 to
1b78de8
Compare
| @@ -29,13 +29,10 @@ class InstanceRunnerItf { | |||
| * Updates instances on specified node. | |||
There was a problem hiding this comment.
Run instance on specified node.
src/core/cm/launcher/node.cpp
Outdated
| for (const auto& instance : *stopInstances) { | ||
| LOG_INF() << "Update node stop instance" << Log::Field("instance", static_cast<const InstanceIdent&>(instance)) | ||
| for (const auto& instance : *instancesToRun) { | ||
| LOG_INF() << "Update node run instance" << Log::Field("instance", static_cast<const InstanceIdent&>(instance)) |
src/core/cm/launcher/node.cpp
Outdated
| return {true, ErrorEnum::eNone}; | ||
| } | ||
|
|
||
| // Check desired ⊆ running. |
There was a problem hiding this comment.
that's from initial implementation
(set1 <= set2) and (set2 <= set1) => set1 == set2
removed the comments, not needed
src/core/cm/launcher/node.cpp
Outdated
| for (const auto& instance : *stopInstances) { | ||
| LOG_INF() << "Update node stop instance" << Log::Field("instance", static_cast<const InstanceIdent&>(instance)) | ||
| for (const auto& instance : *instancesToRun) { | ||
| LOG_INF() << "Update node run instance" << Log::Field("instance", static_cast<const InstanceIdent&>(instance)) |
MykolaSuperman
left a comment
There was a problem hiding this comment.
Reviewed-by: Mykola Solianko <mykola_solianko@epam.com>
bf0e06f to
a609cd7
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature_release_9.1 #540 +/- ##
=======================================================
- Coverage 85.25% 85.21% -0.04%
=======================================================
Files 313 313
Lines 28209 28182 -27
Branches 3775 3773 -2
=======================================================
- Hits 24049 24016 -33
- Misses 4160 4166 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mlohvynenko
left a comment
There was a problem hiding this comment.
Reviewed-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
al1img
left a comment
There was a problem hiding this comment.
Reviewed-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
Signed-off-by: Mykola Kobets <mykola_kobets@epam.com> Reviewed-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com> Reviewed-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com> Reviewed-by: Mykola Solianko <mykola_solianko@epam.com>
a609cd7 to
eada1a0
Compare
|


No description provided.