acme: plugin: fix error message
extract_challenge is used by both dns-01 and http-01 challenges. Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
		
				
					committed by
					
						
						Thomas Lamprecht
					
				
			
			
				
	
			
			
			
						parent
						
							ecd66ecaf6
						
					
				
				
					commit
					f9bd5e1691
				
			@ -68,7 +68,7 @@ fn extract_challenge<'a>(
 | 
			
		||||
        .challenges
 | 
			
		||||
        .iter()
 | 
			
		||||
        .find(|ch| ch.ty == ty)
 | 
			
		||||
        .ok_or_else(|| format_err!("no supported challenge type (dns-01) found"))
 | 
			
		||||
        .ok_or_else(|| format_err!("no supported challenge type ({}) found", ty))
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
async fn pipe_to_tasklog<T: AsyncRead + Unpin>(
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user