Commit 50fa7847 authored by Dylan Griffith's avatar Dylan Griffith Committed by Stan Hu

CheckUninstallProgressService remove unnecessary begin

parent 3cac5b05
......@@ -36,9 +36,7 @@ module Clusters
def check_timeout
if timeouted?
begin
app.make_errored!("Operation timed out. Check pod logs for #{pod_name} for more details.")
end
app.make_errored!("Operation timed out. Check pod logs for #{pod_name} for more details.")
else
WaitForUninstallAppWorker.perform_in(WaitForUninstallAppWorker::INTERVAL, app.name, app.id)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment