Scheduling works onprem!

This commit is contained in:
frikky
2020-05-20 06:10:32 +02:00
parent ee85e7f267
commit e44c0845d2
6 changed files with 236 additions and 75 deletions
+3 -1
View File
@@ -261,7 +261,9 @@ func main() {
// New, abortable version. Should check executionid and remove everything else
var toBeRemoved ExecutionRequestWrapper
for _, execution := range executionRequests.Data {
log.Printf("Argument: %#v", execution.ExecutionArgument)
if len(execution.ExecutionArgument) > 0 {
log.Printf("Argument: %#v", execution.ExecutionArgument)
}
if execution.Type == "schedule" {
log.Printf("SOMETHING ELSE :O: %s", execution.Type)