pass running and not running pods to swap_pod function

This commit is contained in:
Eugenio Marzo
2019-09-11 22:35:10 +02:00
parent 1ffb2ce250
commit ca92f776eb

View File

@@ -113,9 +113,7 @@ function http_update_pod_result(self, _, response)
i = 0
while i <= pod_items_size do
if pod_items[i] ~= nil then
-- if pod_items[i]['status']['phase'] == "Running" and pod_items[i]['metadata']['deletionTimestamp'] == nil then
table.insert(kubernetes_pods,pod_items[i])
-- end
end
i = i + 1
end