fixed lambda script to run without requests

This commit is contained in:
frikky
2022-02-11 13:00:27 +01:00
parent 0d27959a2d
commit c341046f1a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
}