Skip to content

Commit

Permalink
Added missing f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
spanezz committed Apr 21, 2022
1 parent 768f419 commit 5bee22a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nspawn-runner
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ class Machine:

if MEMORY_HIGH is not None:
unit_config.append("MemoryAccounting=yes")
unit_config.append("MemoryHigh={MEMORY_HIGH}")
unit_config.append(f"MemoryHigh={MEMORY_HIGH}")
if MEMORY_MAX is not None and self.nspawn_runner.systemd_version >= 249:
unit_config.append("MemoryMax={MEMORY_MAX}")
unit_config.append(f"MemoryMax={MEMORY_MAX}")

systemd_run_cmd = ["systemd-run"]
if not ENABLE_SECCOMP:
Expand Down

0 comments on commit 5bee22a

Please sign in to comment.