Commits

Jan Borsodi committed 8d01a7e

hob.repo: Fixed incorrect object used as service.

  • Participants
  • Parent commits 16550dc
  • Branches repo-manager

Comments (0)

Files changed (1)

                     service = local[major][minor]
                     # Any new service should first be marked as a draft
                     if not service.isDraft() and self.requireDraft:
-                        self.error(local, "PROT012",
+                        self.error(service, "PROT012",
                                    {
                                       "name": service.name,
                                       "version": service.getVersion(),
                 service = local[minor]
                 # Any new service should first be marked as a draft
                 if not service.isDraft() and self.requireDraft:
-                    self.error(local, "PROT012",
+                    self.error(service, "PROT012",
                                {
                                   "name": service.name,
                                   "version": service.getVersion(),
             service = local
             # Any new service should first be marked as a draft
             if not service.isDraft() and self.requireDraft:
-                self.error(local, "PROT012",
+                self.error(service, "PROT012",
                            {
                               "name": service.name,
                               "version": service.getVersion(),