src/api2/admin/datastore/backup.rs: fix typo
This commit is contained in:
		@ -121,7 +121,7 @@ fn upgrade_to_backup_protocol(
 | 
				
			|||||||
            .then(move |result| {
 | 
					            .then(move |result| {
 | 
				
			||||||
                if let Err(err) = result {
 | 
					                if let Err(err) = result {
 | 
				
			||||||
                    match env2.ensure_finished() {
 | 
					                    match env2.ensure_finished() {
 | 
				
			||||||
                        Ok(()) => {}, // ignorte error after finish
 | 
					                        Ok(()) => {}, // ignore error after finish
 | 
				
			||||||
                        _ => {
 | 
					                        _ => {
 | 
				
			||||||
                            env2.log(format!("backup failed: {}", err));
 | 
					                            env2.log(format!("backup failed: {}", err));
 | 
				
			||||||
                            env2.log("removing failed backup");
 | 
					                            env2.log("removing failed backup");
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user