Skip to content

Commit

Permalink
Fixes laravel#618
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnylot committed Jun 20, 2019
1 parent a6e4a89 commit 9b5601d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repositories/RedisSupervisorRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function update(Supervisor $supervisor)
$pipe->hmset(
'supervisor:'.$supervisor->name, [
'name' => $supervisor->name,
'master' => explode(':', $supervisor->name)[0],
'master' => implode(':',explode(':', $supervisor->name, -1)),
'pid' => $supervisor->pid(),
'status' => $supervisor->working ? 'running' : 'paused',
'processes' => $processes,
Expand Down

0 comments on commit 9b5601d

Please sign in to comment.