fix FloatingIpAlreadyInUse to use correct string pattern, convert ApiErrors to 400 responses
This commit is contained in:
		@@ -534,7 +534,7 @@ class NoMoreFloatingIps(FloatingIpNotFound):
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class FloatingIpAlreadyInUse(NovaException):
 | 
			
		||||
    message = _("Floating ip %(address) already in use by %(fixed_ip).")
 | 
			
		||||
    message = _("Floating ip %(address)s already in use by %(fixed_ip)s.")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class NoFloatingIpsDefined(NotFound):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user