Commit 3d94ab32 authored by Dylan Griffith's avatar Dylan Griffith Committed by Stan Hu

Remove unncessary `to_time` in cluster services

parent d252b99a
......@@ -52,7 +52,7 @@ module Clusters
end
def timed_out?
Time.now.utc - app.updated_at.to_time.utc > ClusterWaitForAppInstallationWorker::TIMEOUT
Time.now.utc - app.updated_at.utc > ClusterWaitForAppInstallationWorker::TIMEOUT
end
def remove_installation_pod
......
......@@ -47,7 +47,7 @@ module Clusters
end
def timed_out?
Time.now.utc - app.updated_at.to_time.utc > WaitForUninstallAppWorker::TIMEOUT
Time.now.utc - app.updated_at.utc > WaitForUninstallAppWorker::TIMEOUT
end
def remove_installation_pod
......
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