From 3a24bd72f6eb10f5d38d053f0b234793865f6821 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Wed, 6 May 2020 12:13:52 -0500 Subject: http api: function names should be consistent --- src/services/vyos-http-api-server | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/services/vyos-http-api-server b/src/services/vyos-http-api-server index c36cbd640..14cdd8437 100755 --- a/src/services/vyos-http-api-server +++ b/src/services/vyos-http-api-server @@ -77,7 +77,7 @@ def auth_required(f): @app.route('/configure', method='POST') @auth_required -def configure(): +def configure_op(): session = app.config['vyos_session'] env = session.get_session_env() config = vyos.config.Config(session_env=env) @@ -188,7 +188,7 @@ def configure(): @app.route('/retrieve', method='POST') @auth_required -def get_value(): +def retrieve_op(): session = app.config['vyos_session'] env = session.get_session_env() config = vyos.config.Config(session_env=env) @@ -274,7 +274,7 @@ def config_file_op(): @app.route('/image', method='POST') @auth_required -def config_file_op(): +def image_op(): session = app.config['vyos_session'] command = bottle.request.forms.get("data") -- cgit v1.2.3