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