Fixed logging issues
This commit is contained in:
@@ -929,9 +929,7 @@ func handleGet(swagger *openapi3.Swagger, api WorkflowApp, extraParameters []Wor
|
|||||||
if firstQuery {
|
if firstQuery {
|
||||||
baseUrl = fmt.Sprintf("%s?%s={%s}", baseUrl, param.Value.Name, param.Value.Name)
|
baseUrl = fmt.Sprintf("%s?%s={%s}", baseUrl, param.Value.Name, param.Value.Name)
|
||||||
} else {
|
} else {
|
||||||
log.Printf("NOT FIRST QUERY!: %s", baseUrl)
|
|
||||||
baseUrl = fmt.Sprintf("%s&%s={%s}", baseUrl, param.Value.Name, param.Value.Name)
|
baseUrl = fmt.Sprintf("%s&%s={%s}", baseUrl, param.Value.Name, param.Value.Name)
|
||||||
log.Printf("AFTER: %s", baseUrl)
|
|
||||||
}
|
}
|
||||||
firstQuery = false
|
firstQuery = false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1378,7 +1378,6 @@ func saveWorkflow(resp http.ResponseWriter, request *http.Request) {
|
|||||||
// Check tosee if the appaction is valid
|
// Check tosee if the appaction is valid
|
||||||
curappaction := WorkflowAppAction{}
|
curappaction := WorkflowAppAction{}
|
||||||
for _, curAction := range curapp.Actions {
|
for _, curAction := range curapp.Actions {
|
||||||
log.Printf("Same? %s - %s", action.Name, curAction.Name)
|
|
||||||
if action.Name == curAction.Name {
|
if action.Name == curAction.Name {
|
||||||
curappaction = curAction
|
curappaction = curAction
|
||||||
break
|
break
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
frontend:
|
frontend:
|
||||||
build: ./frontend
|
#build: ./frontend
|
||||||
image: frikky/shuffle:frontend
|
image: frikky/shuffle:frontend
|
||||||
container_name: shuffle-frontend
|
container_name: shuffle-frontend
|
||||||
hostname: shuffle-frontend
|
hostname: shuffle-frontend
|
||||||
@@ -26,7 +26,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${DB_LOCATION}:/etc/shuffle
|
- ${DB_LOCATION}:/etc/shuffle
|
||||||
backend:
|
backend:
|
||||||
build: ./backend
|
#build: ./backend
|
||||||
image: frikky/shuffle:backend
|
image: frikky/shuffle:backend
|
||||||
container_name: shuffle-backend
|
container_name: shuffle-backend
|
||||||
hostname: ${BACKEND_HOSTNAME}
|
hostname: ${BACKEND_HOSTNAME}
|
||||||
|
|||||||
Reference in New Issue
Block a user