Minor changes to action view

This commit is contained in:
frikky
2021-05-18 05:47:11 +02:00
parent 22098f72e0
commit ef04064567
3 changed files with 9 additions and 6 deletions
+2 -3
View File
@@ -688,7 +688,7 @@ func getDockerImage(resp http.ResponseWriter, request *http.Request) {
tagFound := ""
for _, image := range images {
for _, tag := range image.RepoTags {
log.Printf("[INFO] Docker Image: %s", tag)
//log.Printf("[INFO] Docker Image: %s", tag)
if strings.ToLower(tag) == strings.ToLower(version.Name) {
img = image
@@ -704,8 +704,7 @@ func getDockerImage(resp http.ResponseWriter, request *http.Request) {
return
}
_ = tagFound
log.Printf("Img (%s) found: %#v", tagFound, img)
log.Printf("[INFO] Img found (%s): %#v", tagFound, img)
basepath := "base"
location := fmt.Sprintf("%s.tar.gz", tagFound)
+6 -2
View File
@@ -53,11 +53,15 @@ const ParsedAction = (props) => {
while(true) {
for (var key in allkeys) {
var currentnode = cy.getElementById(allkeys[key])
if (handled.includes(currentnode.data().id)) {
if (currentnode === undefined) {
continue
}
if (handled.includes(currentnode.data("id"))) {
continue
} else {
// Get the name / label here too?
handled.push(currentnode.data().id)
handled.push(currentnode.data("id"))
results.push(currentnode.data())
}
+1 -1
View File
@@ -1,5 +1,5 @@
<integration>
<name>custom-shuffle</name>
<hook_url>http://<IP>:3001/api/v1/hooks/webhook_<HOOK_ID></hook_url>
<hook_url>http://<IP>:<PORT>/api/v1/hooks/webhook_<HOOK_ID></hook_url>
<alert_format>json</alert_format>
</integration>