This commit is contained in:
Eugenio Marzo
2022-12-30 11:53:51 +01:00
parent b72c1b897b
commit b900eeab97
4 changed files with 3 additions and 3 deletions
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

+2 -2
View File
@@ -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
+1 -1
View File
@@ -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