Skip to content

Commit

Permalink
fix(judge): Use the right key to retrieve the metric direction from t…
Browse files Browse the repository at this point in the history
…he config (#204)
  • Loading branch information
csanden authored and Michael Graff committed Jan 16, 2018
1 parent 8418093 commit 38b3638
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class NetflixACAJudge extends CanaryJudge with StrictLogging {
val experiment = Metric(metric.getName, experimentValues, label="Canary")
val control = Metric(metric.getName, controlValues, label="Baseline")

val directionalityOption = MapUtils.get(metricConfig.getAnalysisConfigurations, "canary", "directionality")
val directionalityOption = MapUtils.get(metricConfig.getAnalysisConfigurations, "canary", "direction")
val directionalityString = if (directionalityOption.isDefined) directionalityOption.get.toString else "default"
val directionality = MetricDirection.parse(directionalityString)

Expand Down

0 comments on commit 38b3638

Please sign in to comment.