diff options
Diffstat (limited to 'subplot')
-rw-r--r-- | subplot/client.py | 5 | ||||
-rw-r--r-- | subplot/client.yaml | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/subplot/client.py b/subplot/client.py index 7556986..acdc48a 100644 --- a/subplot/client.py +++ b/subplot/client.py @@ -24,13 +24,12 @@ def configure_client(ctx, filename=None): yaml.safe_dump(config, stream=f) -def run_obnam_restore(ctx, filename=None, genid=None, dbname=None, todir=None): +def run_obnam_restore(ctx, filename=None, genid=None, todir=None): runcmd_run = globals()["runcmd_run"] genid = ctx["vars"][genid] runcmd_run( - ctx, - ["env", "RUST_LOG=obnam", "obnam", "restore", filename, genid, dbname, todir], + ctx, ["env", "RUST_LOG=obnam", "obnam", "restore", filename, genid, todir] ) diff --git a/subplot/client.yaml b/subplot/client.yaml index 80b69f2..63033c3 100644 --- a/subplot/client.yaml +++ b/subplot/client.yaml @@ -4,7 +4,7 @@ - given: "a client config based on {filename}" function: configure_client -- when: "I invoke obnam restore {filename} <{genid}> {dbname} {todir}" +- when: "I invoke obnam restore {filename} <{genid}> {todir}" function: run_obnam_restore - then: "backup generation is {varname}" |