Skip to content

fix ocpiadmin platform_dir setting

Robert Tracy requested to merge 2950-ocpiadmin-fixes into develop

What this MR does / why we need it:

This MR is needed to fix the initial setting of the platform_dir variable for cases where $OCPI_ROOT_DIR contains a "projects" path element, i.e., we don't care about any "projects" directory except the one under $OCPI_ROOT_DIR.

Steps to complete before submitting MR:

  • I have read Contribution guidelines

  • I have ensured I have a changelog written in the imperative form that is meaningful and accurately summarizes the work done

  • I have added the release notes label if applicable (more information below)

  • I have ensured the workflow labels are up to date and will continue to do so up until this work is merged into develop

  • I have added a category, type, and target release label along with all other labels as need be

  • My branch is up to date with develop. If it is not, then I have ensured my work does not conflict with other work

  • I agree my bugfix MR does not include new features/enhancements

  • I represent that bugfixes have been locally tested against the most recent major.minor release in which the bug exists

  • (REVIEWER ONLY) I have thoroughly gone through the above steps to ensure that they have been followed

Release Notes

N/A

Changelog

  • bug(tools): ocpiadmin: fix platform_dir setting

Which issue(s) this MR closes

Closes #2950 (closed)

Edited by Robert Tracy

Merge request reports