diff options
Diffstat (limited to 'src/services/vyos-http-api-server')
-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)) |