Merge branch '1.3.0' of https://github.com/shuffle/shuffle into 1.3.0
This commit is contained in:
@@ -3408,9 +3408,11 @@ func handleCloudExecutionOnprem(workflowId, startNode, executionSource, executio
|
||||
}
|
||||
|
||||
func handleCloudJob(job shuffle.CloudSyncJob) error {
|
||||
ctx := context.Background()
|
||||
// May need authentication in all of these..?
|
||||
|
||||
log.Printf("[INFO] Handle job with type %s and action %s", job.Type, job.Action)
|
||||
shuffle.IncrementCache(ctx, job.OrgId, "org_sync_actions")
|
||||
|
||||
if job.Type == "outlook" {
|
||||
if job.Action == "execute" {
|
||||
// FIXME: Get the email
|
||||
@@ -6073,6 +6075,7 @@ func initHandlers() {
|
||||
|
||||
// Had to move away from mux, which means Method is fucked up right now.
|
||||
func main() {
|
||||
|
||||
initHandlers()
|
||||
hostname, err := os.Hostname()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user