Changeset 6550c57496e776b5586d5a9aa38f43b9e49046c3

Show
Ignore:
Timestamp:
02/02/08 17:40:11 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1201974011 +0000
git-parent:

[7cdd67a86b56024958cccb41041404e8bfa465a5]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1201974011 +0000
Message:

inherited configs for modules and checks

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_module.c

    r64e4b06 r6550c57  
    104104      continue; 
    105105    } 
    106     config = noit_conf_get_hash(sections[i], "config/*"); 
     106    config = noit_conf_get_hash(sections[i], "ancestor-or-self::node()/config/*"); 
    107107    module = noit_module_lookup(module_name); 
    108108    if(module->config(module, config)) { 
  • src/noit_poller.c

    r7cdd67a r6550c57  
    120120      timeout = period/2; 
    121121    } 
    122     options = noit_conf_get_hash(sec[i], "config/*"); 
     122    options = noit_conf_get_hash(sec[i], "ancestor-or-self::node()/config/*"); 
    123123    noit_poller_schedule(target, module, name, options, 
    124124                         period, timeout, oncheck[0] ? oncheck : NULL,