Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-37587

WebRCA: Migrations fails in folders with name /web-rca/whatever

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None

      When migration command is performed in a folder with this structure ".../web-rca/whatever/" fails. The problem is the function "GetProjectRootDir" gets all folders until it reaches web-rca, then finishes its execution. So this behavior forces the "web-rca" folder to be the final name and thereby when migration command is executed doesn't found the required files.

      Maybe is not a bug, but it's something to have in consideration in local development setup

      source code reference: https://gitlab.cee.redhat.com/service/web-rca/-/blob/main/pkg/config/config.go#L197

              rh-ee-jbarea Juan Manuel Barea Martinez
              rh-ee-jbarea Juan Manuel Barea Martinez
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: