Minor changes to action view
This commit is contained in:
@@ -688,7 +688,7 @@ func getDockerImage(resp http.ResponseWriter, request *http.Request) {
|
|||||||
tagFound := ""
|
tagFound := ""
|
||||||
for _, image := range images {
|
for _, image := range images {
|
||||||
for _, tag := range image.RepoTags {
|
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) {
|
if strings.ToLower(tag) == strings.ToLower(version.Name) {
|
||||||
img = image
|
img = image
|
||||||
@@ -704,8 +704,7 @@ func getDockerImage(resp http.ResponseWriter, request *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
_ = tagFound
|
log.Printf("[INFO] Img found (%s): %#v", tagFound, img)
|
||||||
log.Printf("Img (%s) found: %#v", tagFound, img)
|
|
||||||
|
|
||||||
basepath := "base"
|
basepath := "base"
|
||||||
location := fmt.Sprintf("%s.tar.gz", tagFound)
|
location := fmt.Sprintf("%s.tar.gz", tagFound)
|
||||||
|
|||||||
@@ -53,11 +53,15 @@ const ParsedAction = (props) => {
|
|||||||
while(true) {
|
while(true) {
|
||||||
for (var key in allkeys) {
|
for (var key in allkeys) {
|
||||||
var currentnode = cy.getElementById(allkeys[key])
|
var currentnode = cy.getElementById(allkeys[key])
|
||||||
if (handled.includes(currentnode.data().id)) {
|
if (currentnode === undefined) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
if (handled.includes(currentnode.data("id"))) {
|
||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
// Get the name / label here too?
|
// Get the name / label here too?
|
||||||
handled.push(currentnode.data().id)
|
handled.push(currentnode.data("id"))
|
||||||
results.push(currentnode.data())
|
results.push(currentnode.data())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<integration>
|
<integration>
|
||||||
<name>custom-shuffle</name>
|
<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>
|
<alert_format>json</alert_format>
|
||||||
</integration>
|
</integration>
|
||||||
|
|||||||
Reference in New Issue
Block a user