Project

General

Profile

action #71596

[sle][migration] Extract virt_utils::lpar_cmd to avoid cyclic dependencies

Added by szarate 10 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Bugs in existing tests
Target version:
-
Start date:
2020-09-21
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

In this pr a virt_utils was imported, to be able to call lpar_cmd however this introduced a circular dependency, leading to CI failures about redefined subroutine

For now the solution has been the same as before, do a static call

        virt_utils::lpar_cmd("$test_cmd");

However, to avoid this problem happening in the future, I suggest to:

  • Extract lpar_cmd to it's own package, or extract it to the utils package, right under utils::type_line_svirt (and adding a small documentation for the new routine :))

History

#1 Updated by leli about 2 months ago

Hi szarate, I can't see this is related with migration, can you remove the tag of [migration]?

Also available in: Atom PDF