diff options
author | John Estabrook <jestabro@vyos.io> | 2020-10-21 14:55:34 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2020-10-21 17:44:16 -0500 |
commit | c6c8c453076a06188d577730f0ab570e8daef5f2 (patch) | |
tree | 486e216c3633fe73701e8e5f45f92fc9e6a58718 | |
parent | 8bf1ba34d2fd4ee59390d08be397a850c552fcd2 (diff) | |
download | vyos-1x-c6c8c453076a06188d577730f0ab570e8daef5f2.tar.gz vyos-1x-c6c8c453076a06188d577730f0ab570e8daef5f2.zip |
http-api: T3007: use ConfigSession config load script, not backend load
-rwxr-xr-x | src/services/vyos-http-api-server | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/vyos-http-api-server b/src/services/vyos-http-api-server index d5730d86c..703628558 100755 --- a/src/services/vyos-http-api-server +++ b/src/services/vyos-http-api-server @@ -261,7 +261,7 @@ def config_file_op(command): path = command['file'] except KeyError: return error(400, "Missing required field \"file\"") - res = session.load_config(path) + res = session.migrate_and_load_config(path) res = session.commit() else: return error(400, "\"{0}\" is not a valid operation".format(op)) |