Add telemetry prompt in p:environment:setup
command
This commit is contained in:
parent
250c557e23
commit
fa7503816a
3 changed files with 12 additions and 5 deletions
|
@ -52,10 +52,10 @@ class TelemetryCollectionService
|
|||
*/
|
||||
public function collect(): array
|
||||
{
|
||||
$uuid = $this->settingsRepository->get('app:uuid');
|
||||
$uuid = $this->settingsRepository->get('app:telemetry:uuid');
|
||||
if (is_null($uuid)) {
|
||||
$uuid = Uuid::uuid4()->toString();
|
||||
$this->settingsRepository->set('app:uuid', $uuid);
|
||||
$this->settingsRepository->set('app:telemetry:uuid', $uuid);
|
||||
}
|
||||
|
||||
$nodes = Node::all()->map(function ($node) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue