Show
Ignore:
Timestamp:
11/28/11 19:58:37 (2 years ago)
Author:
neophenix <neophenix@gmail.com>
git-committer:
neophenix <neophenix@gmail.com> 1322510317 -0500
git-parent:

[e09f057cc61b7872af870562a9ca11fc52860502]

git-author:
neophenix <neophenix@gmail.com> 1322510317 -0500
Message:

fix ordering of target discovery

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules-lua/noit/module/haproxy.lua

    rb553f9a rf22ffc6  
    9494 
    9595function initiate(module, check) 
    96   local host = check.config.host or check.target or check.target_ip 
     96  local host = check.config.host or check.target_ip or check.target 
    9797  local port = check.config.port or 80 
    9898  local uri  = check.config.uri or "/admin?stats;csv" 
  • src/modules-lua/noit/module/redis.lua

    r14d9830 rf22ffc6  
    8181 
    8282function initiate(module, check) 
    83   local host = check.config.host or check.target or check.target_ip 
     83  local host = check.config.host or check.target_ip or check.target 
    8484  local port = check.config.port or 6379 
    8585