Skip to content

Commit

Permalink
squash:update
Browse files Browse the repository at this point in the history
  • Loading branch information
skycastlelily committed Jan 15, 2025
1 parent 86dd8f2 commit 6c540fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tmt/steps/provision/mrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import importlib.metadata
import logging
import os
import re
from collections.abc import Mapping
from contextlib import suppress
from functools import wraps
Expand Down Expand Up @@ -1182,7 +1183,8 @@ def _create(self, tmt_name: str) -> None:
mrack_requirement = self.api._mrack_transformer.create_host_requirement(data)
if self.is_dry_run:
job = self.api._mrack_provider._req_to_bkr_job(mrack_requirement)
self.info(f"beaker job xml: '{job.toxml()}'")
self.print(re.sub(r'^\t+', lambda match: ' ' *
len(match.group()), job.toxml(prettyxml=True), flags=re.MULTILINE))
return
try:
response = self.api.create(data)
Expand Down

0 comments on commit 6c540fa

Please sign in to comment.