Skip to content

Commit

Permalink
1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Okipa committed Sep 12, 2020
1 parent d7b2f05 commit 3af8271
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [1.1.1](https://github.com/Okipa/laravel-supervisor-downtime-notifier/compare/1.1.0...1.1.1)

2020-09-12

* Fixed details for `supervisor:downtime:simulate` command.

## [1.1.0](https://github.com/Okipa/laravel-supervisor-downtime-notifier/compare/1.0.2...1.1.0)

2020-09-11
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/SimulateSupervisorDownTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SimulateSupervisorDownTime extends Command
/** @throws \Okipa\LaravelSupervisorDowntimeNotifier\Exceptions\SupervisorDownProcessesDetected */
public function handle(): void
{
$fakeDownProcesses = collect([[],[]]);
$fakeDownProcesses = collect(['fake-process-1', 'fake-process-2']);
$notification = (new SupervisorDowntimeNotifier)->getDownProcessesNotification($fakeDownProcesses, true);
(new SupervisorDowntimeNotifier)->getNotifiable()->notify($notification);
$onDownProcesses = (new SupervisorDowntimeNotifier)->getDownProcessesCallback();
Expand Down

0 comments on commit 3af8271

Please sign in to comment.