fix for auto memcached setup
This commit is contained in:
@@ -456,6 +456,8 @@ func deployServiceWorkers(image string) {
|
||||
}
|
||||
}
|
||||
|
||||
// Only do this if no memcached is set manually
|
||||
if os.Getenv("SHUFFLE_MEMCACHED") == "" {
|
||||
isMemcachedRunning, err := checkMemcached(ctx, dockercli)
|
||||
if err != nil {
|
||||
log.Printf("[ERROR] Failed checking memcached: %s", err)
|
||||
@@ -466,8 +468,8 @@ func deployServiceWorkers(image string) {
|
||||
}
|
||||
|
||||
ip := "shuffle-cache"
|
||||
|
||||
os.Setenv("SHUFFLE_MEMCACHED", fmt.Sprintf("%s:11211", ip))
|
||||
}
|
||||
|
||||
defaultNetworkAttach := false
|
||||
if containerId != "" {
|
||||
|
||||
Reference in New Issue
Block a user