From: Ian Jackson Date: Sun, 1 Nov 2020 22:38:15 +0000 (+0000) Subject: wip errors from introducing accounts X-Git-Tag: otter-0.2.0~566 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=540c45d45ec7223ed6abfc52f7dcee9377b45c05;p=otter.git wip errors from introducing accounts Signed-off-by: Ian Jackson --- diff --git a/src/cmdlistener.rs b/src/cmdlistener.rs index 6d5de588..fed970df 100644 --- a/src/cmdlistener.rs +++ b/src/cmdlistener.rs @@ -131,8 +131,8 @@ fn execute(cs: &mut CommandStream, cmd: MgmtCommand) -> MgmtResponse { SetAccount(wanted_account) => { let auth = authorise_scope_direct(cs, &wanted_account.scope)?; cs.account = Some(AccountSpecified { - notional_account: wanted_account, cooked: wanted_account.to_string(), + notional_account: wanted_account, auth: auth.therefore_ok(), }); Fine