remove some rather inconvenient debug output

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-02-04 15:34:38 +01:00
parent 9d02e5c38a
commit e937034c86
2 changed files with 0 additions and 5 deletions

View File

@ -460,8 +460,6 @@ pub fn parse_simple_value(value_str: &str, schema: &Schema) -> Result<Value, Err
pub fn parse_parameter_strings(data: &Vec<(String, String)>, schema: &ObjectSchema, test_required: bool) -> Result<Value, ParameterError> { pub fn parse_parameter_strings(data: &Vec<(String, String)>, schema: &ObjectSchema, test_required: bool) -> Result<Value, ParameterError> {
println!("QUERY Strings {:?}", data);
let mut params = json!({}); let mut params = json!({});
let mut errors = ParameterError::new(); let mut errors = ParameterError::new();

View File

@ -105,8 +105,6 @@ fn get_request_parameters_async(
let utf8 = std::str::from_utf8(&body)?; let utf8 = std::str::from_utf8(&body)?;
println!("GOT BODY {:?}", utf8);
let mut param_list: Vec<(String, String)> = vec![]; let mut param_list: Vec<(String, String)> = vec![];
if utf8.len() > 0 { if utf8.len() > 0 {
@ -129,7 +127,6 @@ fn get_request_parameters_async(
let params = parse_parameter_strings(&param_list, &info.parameters, true)?; let params = parse_parameter_strings(&param_list, &info.parameters, true)?;
println!("GOT PARAMS {}", params);
Ok(params) Ok(params)
}); });