mirror of
https://github.com/lucky-sideburn/kubeinvaders.git
synced 2026-08-23 21:46:21 +00:00
start support for kubevirt
This commit is contained in:
@@ -75,10 +75,6 @@ else
|
||||
ngx.exit(ngx.OK)
|
||||
end
|
||||
|
||||
--ngx.log(ngx.INFO, "token: " .. token)
|
||||
-- ngx.log(ngx.INFO, "url: " .. url)
|
||||
-- ngx.log(ngx.INFO, "namespace: " .. namespace)
|
||||
|
||||
local headers = {
|
||||
["Accept"] = "application/json",
|
||||
["Content-Type"] = "application/json",
|
||||
@@ -94,11 +90,6 @@ local ok, statusCode, headers, statusText = https.request{
|
||||
sink = ltn12.sink.table(resp)
|
||||
}
|
||||
|
||||
-- ngx.log(ngx.INFO, "REQUEST LOGS...")
|
||||
-- ngx.log(ngx.INFO, ok)
|
||||
-- ngx.log(ngx.INFO, statusCode)
|
||||
-- ngx.log(ngx.INFO, statusText)
|
||||
|
||||
if action == "list" then
|
||||
local i = 1
|
||||
local j = 0
|
||||
|
||||
Reference in New Issue
Block a user