Remove unncessary `to_time` in cluster services
This commit is contained in:
parent
d252b99a0e
commit
3d94ab3222
|
@ -52,7 +52,7 @@ module Clusters
|
||||||
end
|
end
|
||||||
|
|
||||||
def timed_out?
|
def timed_out?
|
||||||
Time.now.utc - app.updated_at.to_time.utc > ClusterWaitForAppInstallationWorker::TIMEOUT
|
Time.now.utc - app.updated_at.utc > ClusterWaitForAppInstallationWorker::TIMEOUT
|
||||||
end
|
end
|
||||||
|
|
||||||
def remove_installation_pod
|
def remove_installation_pod
|
||||||
|
|
|
@ -47,7 +47,7 @@ module Clusters
|
||||||
end
|
end
|
||||||
|
|
||||||
def timed_out?
|
def timed_out?
|
||||||
Time.now.utc - app.updated_at.to_time.utc > WaitForUninstallAppWorker::TIMEOUT
|
Time.now.utc - app.updated_at.utc > WaitForUninstallAppWorker::TIMEOUT
|
||||||
end
|
end
|
||||||
|
|
||||||
def remove_installation_pod
|
def remove_installation_pod
|
||||||
|
|
Loading…
Reference in New Issue