Skip to content

Commit b74f83c

Browse files
committed
Add global-redis in sigle quotes
1 parent 5572087 commit b74f83c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/container/20181225063950_service-command_change_global_service_container_names.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public static function start_global_service_containers( $containers ) {
209209
*/
210210
public static function update_cache_host( $site_info ) {
211211
$update_hostname_constant = "docker-compose exec --user='www-data' php wp config set RT_WP_NGINX_HELPER_REDIS_HOSTNAME global-redis --add=true --type=constant";
212-
$redis_plugin_constant = 'docker-compose exec --user=\'www-data\' php wp config set --type=variable redis_server "array(\'host\'=> global-redis,\'port\'=> 6379,)" --raw';
212+
$redis_plugin_constant = 'docker-compose exec --user=\'www-data\' php wp config set --type=variable redis_server "array(\'host\'=> \'global-redis\',\'port\'=> 6379,)" --raw';
213213

214214
if( ! chdir( $site_info->site_fs_path ) ) {
215215
throw new \Exception( sprintf( '%s path not exists', $site_info->site_fs_path ) );

0 commit comments

Comments
 (0)