Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…s from ICD
  • Loading branch information
abrighton committed Jun 3, 2020
1 parent d66dff7 commit f12bbd8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ object IcdComponentInfo {
val currentStateList = m.currentStateList.map { t =>
EventInfo(t, getSubscribers(subsystem, component, prefix, t.name, t.description, CurrentStates, targetModelsList))
}
if (eventList.nonEmpty || observeEventList.nonEmpty || m.alarmList.nonEmpty)
Some(Publishes(m.description, eventList, observeEventList, currentStateList, m.alarmList))
if (eventList.nonEmpty || observeEventList.nonEmpty)
Some(Publishes(m.description, eventList, observeEventList, currentStateList, Nil))
else None
}
}
Expand Down

0 comments on commit f12bbd8

Please sign in to comment.