File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/scala/de/upb/cs/swt/delphi/crawler/instancemanagement Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ object InstanceRegistry extends InstanceJsonSupport with AppLogging
194194 } else {
195195 val idToPost = configuration.elasticSearchInstance.id.getOrElse(- 1L )
196196
197- val MatchingData = JsObject (" MatchingSuccessful" -> JsBoolean (isElasticSearchReachable),
197+ val matchingData = JsObject (" MatchingSuccessful" -> JsBoolean (isElasticSearchReachable),
198198 " SenderId" -> JsNumber (configuration.instanceId.getOrElse(- 1L )))
199199
200200 val request = HttpRequest (
@@ -203,7 +203,7 @@ object InstanceRegistry extends InstanceJsonSupport with AppLogging
203203
204204 Await .result(Http (system).singleRequest(request
205205 .withHeaders(RawHeader (" Authorization" , s " Bearer ${AuthProvider .generateJwt()(configuration)}" ))
206- .withEntity(ContentTypes .`application/json`, ByteString (MatchingData .toJson.toString))) map {response =>
206+ .withEntity(ContentTypes .`application/json`, ByteString (matchingData .toJson.toString))) map {response =>
207207 if (response.status == StatusCodes .OK ){
208208 log.info(" Successfully posted matching result to Instance Registry." )
209209 Success ()
You can’t perform that action at this time.
0 commit comments