summaryrefslogtreecommitdiff
path: root/app/services/clusters/applications/check_uninstall_progress_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/clusters/applications/check_uninstall_progress_service.rb')
-rw-r--r--app/services/clusters/applications/check_uninstall_progress_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/clusters/applications/check_uninstall_progress_service.rb b/app/services/clusters/applications/check_uninstall_progress_service.rb
index fe9c488bdfd..cd213c3ebbf 100644
--- a/app/services/clusters/applications/check_uninstall_progress_service.rb
+++ b/app/services/clusters/applications/check_uninstall_progress_service.rb
@@ -31,7 +31,7 @@ module Clusters
end
def timed_out?
- Time.now.utc - app.updated_at.utc > WaitForUninstallAppWorker::TIMEOUT
+ Time.current.utc - app.updated_at.utc > WaitForUninstallAppWorker::TIMEOUT
end
def remove_uninstallation_pod