Horizon returns an error when admin edit CPU Assignments

The error occurs due to a bad reference of utils module, which is being
loaded from another path, instead of being imported from the directory
where the utils module is located.

Updated the path reference to load utils module properly.

Closes-Bug: 1993662

Test Plan:
- Edit CPU assignments on the controller that is locked.

Signed-off-by: Cristian Mondo <cristian.mondo@windriver.com>
Change-Id: I294c254eed361b3d66156d706145ea45793dbe74
This commit is contained in:
Cristian Mondo 2022-10-20 11:26:40 -03:00
parent dff397a114
commit 1aa1aaf997
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@
import logging
import utils as icpu_utils
from starlingx_dashboard.dashboards.admin.inventory.cpu_functions \
import utils as icpu_utils
from django.urls import reverse
from django.utils.translation import ugettext_lazy as _