From 540c45d45ec7223ed6abfc52f7dcee9377b45c05 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 1 Nov 2020 22:38:15 +0000 Subject: [PATCH] wip errors from introducing accounts Signed-off-by: Ian Jackson --- src/cmdlistener.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2