Skip to content

Commit 2f29324

Browse files
committed
fixed not setting ak_id for known appkernels during ingestion
1 parent 682594e commit 2f29324

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

classes/AppKernel/AppKernelIngestor.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -509,13 +509,12 @@ public function ingestAppKernelInstances($resourceNickname)
509509

510510
foreach ($instanceListGroupedByNumUnits as $num_units => $instanceList) {
511511
if (isset($this->dbAKIdMap[$ak_basename]) && isset($this->dbAKIdMap[$ak_basename][$num_units])) {
512+
$ak_id = $this->dbAKIdMap[$ak_basename][$num_units];
512513
} else {
513514
$this->logger->warning("$ak_basename not in AK id map (normal on first load)");
514515
$ak_id = null;
515516
}
516517

517-
518-
519518
foreach ($instanceList as $instanceId => $akInstance) {
520519
$this->logger->info("Processing $akInstance");
521520

0 commit comments

Comments
 (0)