fix[opensearch-update-hotfix]: this should just feel like magic

This commit is contained in:
Aditya
2024-05-24 02:45:45 +05:30
parent 8203125ebf
commit 550a9a537b
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ require (
github.com/docker/docker v26.1.0+incompatible
github.com/gorilla/mux v1.8.1
github.com/satori/go.uuid v1.2.0
github.com/shuffle/shuffle-shared v0.6.29
github.com/shuffle/shuffle-shared v0.6.30
k8s.io/api v0.30.0
k8s.io/apimachinery v0.30.0
k8s.io/client-go v0.30.0
+1 -1
View File
@@ -2980,7 +2980,7 @@ func getStreamResultsWrapper(client *http.Client, req *http.Request, workflowExe
func main() {
// Elasticsearch necessary to ensure we'ren ot running with Datastore configurations for minimal/maximal data sizes
// Recursive import kind of :)
_, err := shuffle.RunInit(*shuffle.GetDatastore(), *shuffle.GetStorage(), "", "worker", true, "elasticsearch")
_, err := shuffle.RunInit(*shuffle.GetDatastore(), *shuffle.GetStorage(), "", "worker", true, "elasticsearch", false, 0)
if err != nil {
if !strings.Contains(fmt.Sprintf("%s", err), "no such host") {
log.Printf("[ERROR] Failed to run worker init: %s", err)