mirror of
https://github.com/emqx/neuron.git
synced 2026-10-27 04:19:50 +08:00
Revert "Make sample app plugin handle NEU_REQRESP_UPDATE_LIC request"
This reverts commit dd0bd8a448.
This commit is contained in:
@@ -551,18 +551,6 @@ static int sample_app_plugin_request(neu_plugin_t *plugin, neu_request_t *req)
|
||||
break;
|
||||
}
|
||||
|
||||
case NEU_REQRESP_UPDATE_LIC: {
|
||||
neu_reqresp_update_lic_t *lic_update = req->buf;
|
||||
assert(req->buf_len == sizeof(*lic_update));
|
||||
log_info("sample app receive license update request:`%s`",
|
||||
lic_update->lic_fname);
|
||||
neu_plugin_send_lic_cmd(plugin, plugin_get_event_id(plugin),
|
||||
NEURON_LIC_FNAME, NEURON_LIC_KEY_LICENSE_TYPE);
|
||||
log_info("Send get license:`%s` key:`%s`", NEURON_LIC_FNAME,
|
||||
NEURON_LIC_KEY_LICENSE_TYPE);
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user