]> git.proxmox.com Git - proxmox-backup.git/commitdiff
remove some rather inconvenient debug output
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 4 Feb 2019 14:34:38 +0000 (15:34 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 4 Feb 2019 14:34:38 +0000 (15:34 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/api/schema.rs
src/server/rest.rs

index 3e671004e046172aa8a5cc29a1903ff632ecd7a8..86e786d1169ca310a48bccdfb3f54ec9c886c5a4 100644 (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> {
 
-    println!("QUERY Strings {:?}", data);
-
     let mut params = json!({});
 
     let mut errors = ParameterError::new();
index a22b23d35b9206f1df4cff4c529ab209141fe95d..1c63c3e9ee5ff85bd7a0c70531f8f35527a7ae74 100644 (file)
@@ -105,8 +105,6 @@ fn get_request_parameters_async(
 
             let utf8 = std::str::from_utf8(&body)?;
 
-            println!("GOT BODY {:?}", utf8);
-
             let mut param_list: Vec<(String, String)> = vec![];
 
             if utf8.len() > 0 {
@@ -129,7 +127,6 @@ fn get_request_parameters_async(
 
             let params = parse_parameter_strings(&param_list, &info.parameters, true)?;
 
-            println!("GOT PARAMS {}", params);
             Ok(params)
         });