diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-09-27 11:49:44 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-09-27 11:50:08 +0200 |
commit | 7011ec431f021a0e1800ad37e738dd43af0b54a6 (patch) | |
tree | d1f7232eb4c90cbea17cacc86bdd32f9dd0ebbc3 /scenarios/fragments | |
parent | c78e4f8005b8dc221190b1da736984f289225326 (diff) | |
download | mknet-7011ec431f021a0e1800ad37e738dd43af0b54a6.tar.gz mknet-7011ec431f021a0e1800ad37e738dd43af0b54a6.zip |
Add sled no-sync
Diffstat (limited to 'scenarios/fragments')
-rw-r--r-- | scenarios/fragments/garage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scenarios/fragments/garage.py b/scenarios/fragments/garage.py index 34aae30..739f982 100644 --- a/scenarios/fragments/garage.py +++ b/scenarios/fragments/garage.py @@ -59,7 +59,7 @@ def deploy_follow(uroot={}, us3_api={}, us3_web={}, uadmin={}): sync_on_key_up() shared.log("ready") -def to_toml(d): return "\n".join([ f"{k} = \"{v}\"" for k, v in d.items() ]) +def to_toml(d): return "\n".join([ f"{k} = {v}" if type(v) is int else f"{k} = \"{v}\"" for k, v in d.items() ]) def daemon(uroot={}, us3_api={}, us3_web={}, uadmin={}): root = { "metadata_dir": f"{storage_path}/meta", |