Skip to content

Commit

Permalink
squash: modify warning
Browse files Browse the repository at this point in the history
  • Loading branch information
skycastlelily authored and happz committed Jul 1, 2024
1 parent 1d96741 commit bf40427
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions spec/hardware/location.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ description: |

.. warning::

`like` operation is not supported by lab-controller, only `!=` and `==`
are allowed.
Because of Beaker limitation, ``~`` and ``!~`` operators commonly used with text-like
HW requirements cannot be used with ``lab-controller``. Only ``==`` and ``!=``
operators are supported.

example:
- |
Expand Down
2 changes: 1 addition & 1 deletion tmt/steps/provision/mrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,14 +464,14 @@ def _transform_location_lab_controller(
'disk.model_name': _transform_disk_model_name, # type: ignore[dict-item]
'disk.size': _transform_disk_size, # type: ignore[dict-item]
'hostname': _transform_hostname, # type: ignore[dict-item]
'location.lab_controller': _transform_location_lab_controller, # type: ignore[dict-item]
'memory': _transform_memory, # type: ignore[dict-item]
'virtualization.is_virtualized':
_transform_virtualization_is_virtualized, # type: ignore[dict-item]
'virtualization.hypervisor':
_transform_virtualization_hypervisor, # type: ignore[dict-item]
'zcrypt.adapter': _transform_zcrypt_adapter, # type: ignore[dict-item]
'zcrypt.mode': _transform_zcrypt_mode, # type: ignore[dict-item]
'location.lab_controller': _transform_location_lab_controller, # type: ignore[dict-item]
}


Expand Down

0 comments on commit bf40427

Please sign in to comment.