rename to historyId
This commit is contained in:
parent
c759e651c5
commit
912c847dcb
1 changed files with 2 additions and 2 deletions
|
@ -468,12 +468,12 @@ class OmnipodDashPumpPlugin @Inject constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun executeProgrammingCommand(
|
private fun executeProgrammingCommand(
|
||||||
historyEntry: Single<String>,
|
historyId: Single<String>,
|
||||||
command: Observable<PodEvent>
|
command: Observable<PodEvent>
|
||||||
): PumpEnactResult {
|
): PumpEnactResult {
|
||||||
return Single.create<PumpEnactResult> { source ->
|
return Single.create<PumpEnactResult> { source ->
|
||||||
Observable.concat(
|
Observable.concat(
|
||||||
historyEntry.flatMapObservable { recordId ->
|
historyId.flatMapObservable { recordId ->
|
||||||
podStateManager.createActiveCommand(recordId).toObservable()
|
podStateManager.createActiveCommand(recordId).toObservable()
|
||||||
},
|
},
|
||||||
command,
|
command,
|
||||||
|
|
Loading…
Reference in a new issue