Skip to content

Commit

Permalink
Mer kosmetikk og mellomrom
Browse files Browse the repository at this point in the history
  • Loading branch information
EirikWulff committed Oct 24, 2024
1 parent a43831e commit 12b26df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Commands/Jamf2Pureservice.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,13 @@ public function handle() {
// Looper gjennom Pureservice-enheter for å evt. endre status på enheter som ikke lenger finnes i Jamf Pro
$notUpdatedDevs = $this->psDevices->lazy()->whereNotIn('id', $this->updatedPsDevices);
$this->psOnlyCount = $notUpdatedDevs->count();
$this->newLine();
$this->info(Tools::L1.'4. Oppdaterer status for '.$this->psOnlyCount.' enheter som ikke er i Jamf Pro');
$i = 0;
foreach ($notUpdatedDevs as $dev):
$i++;
$fn = config('pureservice.'.$dev['type'].'.properties');
$this->newLine();
$this->line(Tools::L2.$i.'/'.$this->psOnlyCount.' '.$dev['uniqueId'].' - '.$dev[$fn['name']]);
$typeName = config('pureservice.'.$dev['type'].'.displayName').'en';
//$this->line(Tools::L3.$typeName.' er ikke registrert i Jamf Pro');
Expand Down

0 comments on commit 12b26df

Please sign in to comment.