Skip to content

Commit 07b0cac

Browse files
Use redis-replica instead of redis-slave in GUI
1 parent 2b1e860 commit 07b0cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guestbook/php-redis/guestbook.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
$client->set($_GET['key'], $_GET['value']);
2424
print('{"message": "Updated"}');
2525
} else {
26-
$host = 'redis-slave';
26+
$host = 'redis-replica';
2727
if (getenv('GET_HOSTS_FROM') == 'env') {
2828
$host = getenv('REDIS_SLAVE_SERVICE_HOST');
2929
}

0 commit comments

Comments
 (0)