Skip to content
Snippets Groups Projects
Commit 5dee043f authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

prohibits section in function of the service type

parent cc2f6c26
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,11 @@
int parse_store_environ(resolve_service_t *res, char *store, int idsec, int idkey)
{
log_flow() ;
if (res->type == TYPE_BUNDLE)
return 1 ;
int e = 0 ;
stralloc sa = STRALLOC_ZERO ;
resolve_wrapper_t_ref wres = resolve_set_struct(DATA_SERVICE, res) ;
......
......@@ -20,6 +20,8 @@
int parse_store_g(resolve_service_t *res, char *store, int idsec, int idkey)
{
log_flow() ;
log_trace("storing key: ", get_key_by_key_all(idsec, idkey)) ;
switch(idsec) {
......
......@@ -25,6 +25,11 @@
int parse_store_logger(resolve_service_t *res, char *store, int idsec, int idkey)
{
log_flow() ;
if (res->type == TYPE_BUNDLE || res->type == TYPE_MODULE)
return 1 ;
int r = 0, e = 0 ;
stralloc sa = STRALLOC_ZERO ;
resolve_wrapper_t_ref wres = resolve_set_struct(DATA_SERVICE, res) ;
......
......@@ -27,6 +27,9 @@ int parse_store_regex(resolve_service_t *res, char *store, int idsec, int idkey)
{
log_flow() ;
if (res->type == TYPE_CLASSIC || res->type == TYPE_ONESHOT)
return 1 ;
stralloc sa = STRALLOC_ZERO ;
resolve_wrapper_t_ref wres = resolve_set_struct(DATA_SERVICE, res) ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment