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 ...@@ -36,9 +36,7 @@ module Clusters
def check_timeout def check_timeout
if timeouted? if timeouted?
begin app.make_errored!("Operation timed out. Check pod logs for #{pod_name} for more details.")
app.make_errored!("Operation timed out. Check pod logs for #{pod_name} for more details.")
end
else else
WaitForUninstallAppWorker.perform_in(WaitForUninstallAppWorker::INTERVAL, app.name, app.id) WaitForUninstallAppWorker.perform_in(WaitForUninstallAppWorker::INTERVAL, app.name, app.id)
end 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