MC::SshAddKey { akl } => {
let (mut ag, acctid, auth) = start_access_ssh_keys(&cs)?;
let (index, id) = ag.sshkeys_add(acctid, akl, auth)?;
- MR::SshKey { index, id }
+ MR::SshKeyAdded { index, id }
}
MC::SshDeleteKey { index, id } => {
let (mut ag, acctid, auth) = start_access_ssh_keys(&cs)?;
Bundles { bundles: MgmtBundleList },
Bundle { bundle: bundles::Id },
SshKeys(Vec<sshkeys::MgmtKeyReport>),
- SshKey { index: usize, id: sshkeys::Id },
+ SshKeyAdded { index: usize, id: sshkeys::Id },
}
pub type MgmtBundleList = BTreeMap<bundles::Id, bundles::State>;
Progress(_) => panic!(),
Fine | AccountsList{..} | GamesList{..} |
Libraries(_) | LibraryItems(_) | Bundles{..} | Bundle{..} => { },
- SshKeys(..) | SshKey{..} => { },
+ SshKeys(..) | SshKeyAdded{..} => { },
AlterGame { error: None, .. } => { },
Error { error } => {
Err(error.clone()).context(