half done?
This commit is contained in:
1 parent
a57535c6a2
commit
8abad25380
5 files changed
+186
-24
No files matched your search
@@ -77,7 +77,7 @@ pub async fn run_command(
|
||||
|
||||
let tx = {
|
||||
let sessions = state.sessions.read().await;
|
||||
sessions.get(&agent_id).cloned()
|
||||
sessions.get(&agent_id).map(|session| session.tx.clone())
|
||||
}
|
||||
.ok_or_else(|| {
|
||||
warn!("command rejected: agent not connected");
|
||||
|
||||
Reference in new issue
Block a user