diff --git a/app/models/mixins/purging_mixin.rb b/app/models/mixins/purging_mixin.rb index cdcc95ef023..ba52e479b8a 100644 --- a/app/models/mixins/purging_mixin.rb +++ b/app/models/mixins/purging_mixin.rb @@ -51,7 +51,7 @@ def purge_timer purge_queue(*purge_mode_and_value) end - def purge_queue(mode, value) + def purge_queue(mode, value = nil) MiqQueue.submit_job( :class_name => name, :method_name => "purge_by_#{mode}",