Skip to content

Commit 9b36ef1

Browse files
authored
Merge pull request #79 from nsimakov/xdmod9.0
fixed not setting ak_id for known appkernels during ingestion
2 parents d69aa69 + 2f29324 commit 9b36ef1

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)