Skip to content

Commit fca44a4

Browse files
committed
Rename pull example
1 parent 8161fa1 commit fca44a4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use Clue\React\Docker\Factory;
77

88
$image = isset($argv[1]) ? $argv[1] : 'clue/redis-benchmark';
9+
echo 'Pulling image "' . $image . '" (pass as argument to this example)' . PHP_EOL;
910

1011
$loop = LoopFactory::create();
1112

@@ -14,7 +15,7 @@
1415

1516
$client->imageCreate($image)->then(
1617
function ($response) {
17-
echo 'response: '; var_dump($response);
18+
echo 'response: ' . json_encode($response) . PHP_EOL;
1819
},
1920
'var_dump',
2021
function ($info) {

0 commit comments

Comments
 (0)