Remove unncessary to_time
in cluster services
This commit is contained in:
parent
d252b99a0e
commit
3d94ab3222
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue