From c341046f1a393d12eaaf47238b4816243fc71b3d Mon Sep 17 00:00:00 2001 From: frikky Date: Fri, 11 Feb 2022 13:00:27 +0100 Subject: [PATCH] fixed lambda script to run without requests --- backend/go-app/go.mod | 2 +- backend/go-app/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/go-app/go.mod b/backend/go-app/go.mod index ebff0e17..fba0f78f 100644 --- a/backend/go-app/go.mod +++ b/backend/go-app/go.mod @@ -24,7 +24,7 @@ require ( github.com/h2non/filetype v1.1.3 github.com/nirasan/go-oauth-pkce-code-verifier v0.0.0-20170819232839-0fbfe93532da // indirect github.com/satori/go.uuid v1.2.0 - github.com/shuffle/shuffle-shared v0.1.97 + github.com/shuffle/shuffle-shared v0.1.98 go4.org v0.0.0-20201209231011-d4a079459e60 // indirect golang.org/x/crypto v0.0.0-20220112180741-5e0467b6c7ce google.golang.org/api v0.65.0 diff --git a/backend/go-app/main.go b/backend/go-app/main.go index fa75b583..9aa5f5c4 100644 --- a/backend/go-app/main.go +++ b/backend/go-app/main.go @@ -3939,7 +3939,7 @@ func runInitEs(ctx context.Context) { } for _, schedule := range schedules { - if strings.toToLower(schedule.Environment) == "cloud" { + if strings.ToLower(schedule.Environment) == "cloud" { log.Printf("Skipping cloud schedule") continue }