Skip to content

Commit

Permalink
fix(engine): update the icon_id for legacy_engine
Browse files Browse the repository at this point in the history
  • Loading branch information
sechkem committed Jan 23, 2025
1 parent 814a747 commit 26a7575
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions engine/src/configuration/applier/host.cc
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ void applier::host::modify_object(configuration::host const& obj) {
config->interval_length());
it_obj->second->set_recovery_notification_delay(
obj.recovery_notification_delay());
it_obj->second->set_icon_id(obj.icon_id());

// Contacts.
if (obj.contacts() != obj_old.contacts()) {
Expand Down
1 change: 1 addition & 0 deletions engine/src/configuration/applier/service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ void applier::service::modify_object(configuration::service const& obj) {
s->set_acknowledgement_timeout(obj.acknowledgement_timeout() *
config->interval_length());
s->set_recovery_notification_delay(obj.recovery_notification_delay());
s->set_icon_id(obj.icon_id());

// Contacts.
if (obj.contacts() != obj_old.contacts()) {
Expand Down

2 comments on commit 26a7575

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
23 1 0 24 95.83 20m38.683173s

Failed Tests

Name Message ⏱️ Duration Suite
not12 The second notification of U2 is not sent 82.518 s Notifications

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
23 1 0 24 95.83 20m38.683173s

Failed Tests

Name Message ⏱️ Duration Suite
not12 The second notification of U2 is not sent 82.518 s Notifications

Please sign in to comment.