fix issue-4513 (#4525)

This commit is contained in:
Slim 2017-07-10 15:58:04 -07:00 committed by GitHub
parent 2b7329688a
commit 8ffac8f5e7

View File

@ -85,7 +85,7 @@ public class DataSchema
log.warn("No metricsSpec has been specified. Are you sure this is what you want?");
}
this.aggregators = aggregators;
this.aggregators = aggregators == null ? new AggregatorFactory[]{} : aggregators;
}
@JsonProperty