switch from failure to anyhow

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2020-04-17 14:11:25 +02:00
parent 404d78c41e
commit f7d4e4b506
116 changed files with 129 additions and 129 deletions

View File

@ -1,6 +1,6 @@
use std::sync::{Arc, Mutex};
use failure::*;
use anyhow::{Error};
use lazy_static::lazy_static;
use openssl::sha;
use regex::Regex;

View File

@ -1,6 +1,6 @@
use std::process::{Command, Stdio};
use failure::*;
use anyhow::{Error};
use serde_json::{json, Value};
use std::io::{BufRead,BufReader};

View File

@ -1,4 +1,4 @@
use failure::*;
use anyhow::{Error};
use serde_json::{json, Value};
use proxmox::api::{api, Router, Permission};

View File

@ -1,6 +1,6 @@
use std::process::{Command, Stdio};
use failure::*;
use anyhow::{bail, Error};
use serde_json::{json, Value};
use proxmox::{sortable, identity, list_subdirs_api_method};

View File

@ -1,4 +1,4 @@
use failure::*;
use anyhow::{Error};
use serde_json::{json, Value};
use proxmox::sys::linux::procfs;

View File

@ -1,6 +1,6 @@
use std::process::{Command, Stdio};
use failure::*;
use anyhow::{Error};
use serde_json::{json, Value};
use proxmox::api::{api, ApiMethod, Router, RpcEnvironment, Permission};

View File

@ -1,7 +1,7 @@
use std::fs::File;
use std::io::{BufRead, BufReader};
use failure::*;
use anyhow::{Error};
use serde_json::{json, Value};
use proxmox::api::{api, Router, RpcEnvironment, Permission};

View File

@ -1,7 +1,7 @@
use std::mem::{self, MaybeUninit};
use chrono::prelude::*;
use failure::*;
use anyhow::{bail, Error};
use serde_json::{json, Value};
use proxmox::api::{api, Router, Permission};