lib/lumberg/format_whm.rb in lumberg-2.0.0.pre9 vs lib/lumberg/format_whm.rb in lumberg-2.0.0.pre12

- old
+ new

@@ -140,10 +140,11 @@ end return success, message, res end def format_whostmgr_response(response) - message = "successfully deleted|deleted successfully" + message = "successfully deleted|deleted successfully|successfully" \ + " generated" if res = response.match(/(?<message>#{message})/) return true, res[:message], [] else return false, "", [] end