Changeset 560fa1680225558e8ca76ea2cb7b9b1415ffce57

Show
Ignore:
Timestamp:
03/19/09 20:55:33 (10 years ago)
Author:
Mark Harrison <mark@omniti.com>
git-committer:
Mark Harrison <mark@omniti.com> 1237496133 +0000
git-parent:

[ef6148158eae47279c3496878ea77b29ae633168]

git-author:
Mark Harrison <mark@omniti.com> 1237496133 +0000
Message:

Allow object names with spaces in them

git-svn-id: https://labs.omniti.com/resmon/trunk@161 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/Resmon/Config.pm

    r90b16d9 r560fa16  
    2121    next if /^\s*$/; 
    2222    if($current) { 
    23       if(/^\s*(\S+)\s*:\s*(.+)\s*$/) { 
     23      if(/^\s*(\S(?:.*\S)?)\s*:\s*(.+)\s*$/) { 
    2424        my %kvs; 
    2525        $kvs{'type'} = $current;