Changeset 3361

Show
Ignore:
Timestamp:
14/02/10 15:03:25 (6 months ago)
Author:
steve.schnepp
Message:

- The "value" has to be moved from service_config to service_data, otherwise it will end in the datafile, and fail to be read again.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • people/snide/pre_1.5/master/lib/Munin/Master/UpdateWorker.pm

    r3360 r3361  
    261261 
    262262                        DEBUG "[DEBUG] handle_dirty_config:$service, $field, $field_value"; 
    263                         # Adds the service_data 
     263                        # Moves the "value" to the service_data 
    264264                        $service_data{$service}->{$field} = { 
    265265                                "value" => $field_value, 
    266266                                "when" => "N", 
    267267                        }; 
     268 
     269                        delete($service_data_source->{$field}{value}); 
    268270                } 
    269271        }