diff options
author | Shaun Taheri <github@taheris.co.uk> | 2016-09-09 15:29:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-09 15:29:10 +0200 |
commit | c38a61a733b5543e682a8be4dbeda8c987582ae7 (patch) | |
tree | b206b1a780c1f2e88e1777540fcf4e2084456471 /src/main.rs | |
parent | 472109e26e883463c9540b3ec9221daf50311f4f (diff) | |
parent | 3b56557d70893122575be2bd4422e5b5d65f7f7f (diff) | |
download | rvi_sota_client-c38a61a733b5543e682a8be4dbeda8c987582ae7.tar.gz |
Merge pull request #123 from advancedtelematic/bugfix/pro-1331/handle-inflight-updates
Handle the returned UpdateRequestStatus from Core
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 3fd7797..031734c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -51,7 +51,7 @@ fn start_update_poller(interval: u64, itx: Sender<Interpret>) { loop { let _ = tick.recv(); itx.send(Interpret { - command: Command::GetPendingUpdates, + command: Command::GetUpdateRequests, response_tx: Some(Arc::new(Mutex::new(etx.clone()))) }); let _ = erx.recv(); |