From ad9b9a288a83c8d45313df46c271986ab0ce5d80 Mon Sep 17 00:00:00 2001 From: NurAb-Sal <107028622+NurAb-Sal@users.noreply.github.com> Date: Thu, 1 Dec 2022 16:50:47 +0100 Subject: [PATCH] Update repository_migrator.py Fixes Issue [#147](https://github.com/ni/NI-SystemLink-Migration/issues/147): "Service 'PackageRepository' cannot be migrated because the specified service is not installed locally." The service definition json for the package repository is %PROGRAMDATA%/Skyline/Config/Repository.json", which fails to match the RepositoryMigrator.name = "PackageRepository" property -> hence the service fails to be found by the module. --- nislmigrate/migrators/repository_migrator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nislmigrate/migrators/repository_migrator.py b/nislmigrate/migrators/repository_migrator.py index 159e9af..eab68ac 100644 --- a/nislmigrate/migrators/repository_migrator.py +++ b/nislmigrate/migrators/repository_migrator.py @@ -21,7 +21,7 @@ class RepositoryMigrator(MigratorPlugin): @property def name(self): - return 'PackageRepository' + return 'Repository' @property def argument(self):