Skip to content

Commit

Permalink
#53 Fix URL to submit job in cortex
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Dec 7, 2016
1 parent 0afb3cf commit d271851
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class CortexClient(val name: String, baseUrl: String, key: String) {
DataPart("_json", attributes.toString)))
request(s"/api/analyzer/$analyzerId", _.post(body), _.json)
case a: DataArtifact
request(s"/api/analyzer/$analyzerId", _.post(Json.toJson(a)), _.json.as[JsObject])
request(s"/api/analyzer/$analyzerId/run", _.post(Json.toJson(a)), _.json.as[JsObject])
}
}

Expand Down

0 comments on commit d271851

Please sign in to comment.