diff --git a/rickshaw-index b/rickshaw-index index 5c93b3c..836370b 100755 --- a/rickshaw-index +++ b/rickshaw-index @@ -613,7 +613,7 @@ sub index_metrics { $metr_data_doc{'metric_desc'} = \%desc; $metr_data_doc{'metric_data'} = \%data; # cdmv8 includes a very small verison of the run doc info, just the run-uuid, to make deleting metric_data docs much easier - if ($cdm{'ver'} = 'v8dev') { + if ($cdm{'ver'} eq 'v8dev') { my %micro_run_doc = ($run_id_field => $result{$run_id_field}); $metr_data_doc{'run'} = \%micro_run_doc; }