You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix NRE in LinkIndexProvider while adding a new branch to existing repository (#1294)
* Fix NRE in LinkIndexProvider while adding a new branch to existing repository
* Throw exception when save goes wrong so its put back on the queue
* fix typo
logger.LogInformation("Updated existing entry for {repository}@{branch}",repository,branch);
55
+
}
56
+
else
57
+
logger.LogInformation("Skipping update for {repository}@{branch} because the existing entry is newer or equal",repository,branch);
49
58
}
59
+
// branch does not exist in the repository entry
50
60
else
51
-
logger.LogInformation("Skipping update for {repository}@{branch} because the existing entry is newer",linkRegistryEntry.Repository,linkRegistryEntry.Branch);
61
+
{
62
+
existingRepositoryEntry[branch]=newEntry;
63
+
logger.LogInformation("Added new entry '{repository}@{branch}' to existing entry for '{repository}'",repository,branch,repository);
0 commit comments