mirror of
https://github.com/lucky-sideburn/kubeinvaders.git
synced 2026-08-23 21:46:21 +00:00
fixed
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 188 KiB After Width: | Height: | Size: 75 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 240 KiB After Width: | Height: | Size: 108 KiB |
@@ -93,7 +93,7 @@ function loadSavedPreset(tool, lang) {
|
||||
var oReq = new XMLHttpRequest();
|
||||
oReq.onreadystatechange = function () {
|
||||
if (this.readyState === XMLHttpRequest.DONE && this.status === 200) {
|
||||
if (this.responseText != "null") {
|
||||
if (this.responseText != "") {
|
||||
$("#currentLoadTest").text(this.responseText);
|
||||
}
|
||||
}
|
||||
@@ -120,7 +120,7 @@ function savePreset() {
|
||||
jobs:
|
||||
${presetName}:
|
||||
additional-labels:
|
||||
create-by: "kubeinvaders"
|
||||
create-by: kubeinvaders
|
||||
load-preset: ${presetName}
|
||||
preset-lang: ${presetLang}
|
||||
image: docker.io/luckysideburn/chaos-exec:latest
|
||||
|
||||
@@ -140,7 +140,7 @@ server {
|
||||
local res, err = red:get(keyname)
|
||||
|
||||
if res == ngx.null then
|
||||
ngx.say("null")
|
||||
ngx.say("")
|
||||
else
|
||||
ngx.say(payload)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user