diff options
| author | John Estabrook <jestabro@vyos.io> | 2025-04-16 11:34:43 -0500 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2025-05-12 11:26:41 -0500 |
| commit | c508c8c66c76488337745cf151d9570c42e38a3b (patch) | |
| tree | 9ac748a9f5c416eaa6a73abcf6fbfa216d30ab94 /src/vyconfd.ml | |
| parent | 3c4d8803fc84da305aaa72cf97ca96fb19d186c9 (diff) | |
| download | vyconf-c508c8c66c76488337745cf151d9570c42e38a3b.tar.gz vyconf-c508c8c66c76488337745cf151d9570c42e38a3b.zip | |
T7363: normalize function naming for auto-generation
For auto-generation of Python classes, it is simpler to maintain
syntactical consistency; as these operations will be wrapped in any
client definitions, verbosity is forgivable.
Diffstat (limited to 'src/vyconfd.ml')
| -rw-r--r-- | src/vyconfd.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vyconfd.ml b/src/vyconfd.ml index bc607a3..9eaee6b 100644 --- a/src/vyconfd.ml +++ b/src/vyconfd.ml @@ -263,8 +263,8 @@ let rec handle_connection world ic oc () = | _, Reload_reftree r -> reload_reftree world r | None, _ -> {response_tmpl with status=Fail; output=(Some "Operation requires session token")} | Some t, Teardown _ -> teardown t - | Some t, Configure r -> enter_conf_mode r t - | Some t, Exit_configure -> exit_conf_mode world t + | Some t, Enter_configuration_mode r -> enter_conf_mode r t + | Some t, Exit_configuration_mode -> exit_conf_mode world t | Some t, Exists r -> exists world t r | Some t, Get_value r -> get_value world t r | Some t, Get_values r -> get_values world t r |
