Skip to content

Commit

Permalink
Fix copy/paste issue for combine_hw_disk_size()
Browse files Browse the repository at this point in the history
In the doc string it seems there is a tiny copy/paste mistake,
the _combine_hw_disk_size() deals with the disks but the docstring
says
```
Combine ``hardware`` with ``--memory`` option
```
this commit fixes this.
  • Loading branch information
mvo5 authored and psss committed May 3, 2024
1 parent c4e9895 commit 94eb7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmt/steps/provision/testcloud.py
Expand Up @@ -630,7 +630,7 @@ def _combine_hw_memory(self) -> None:
self.hardware.and_(memory_constraint)

def _combine_hw_disk_size(self) -> None:
""" Combine ``hardware`` with ``--memory`` option """
""" Combine ``hardware`` with ``--disk`` option """

if not self.hardware:
self.hardware = tmt.hardware.Hardware.from_spec({})
Expand Down

0 comments on commit 94eb7cf

Please sign in to comment.