File tree 1 file changed +2
-2
lines changed
src/main/scala/de/upb/cs/swt/delphi/crawler/instancemanagement
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
194
194
} else {
195
195
val idToPost = configuration.elasticSearchInstance.id.getOrElse(- 1L )
196
196
197
- val MatchingData = JsObject (" MatchingSuccessful" -> JsBoolean (isElasticSearchReachable),
197
+ val matchingData = JsObject (" MatchingSuccessful" -> JsBoolean (isElasticSearchReachable),
198
198
" SenderId" -> JsNumber (configuration.instanceId.getOrElse(- 1L )))
199
199
200
200
val request = HttpRequest (
@@ -203,7 +203,7 @@ object InstanceRegistry extends InstanceJsonSupport with AppLogging
203
203
204
204
Await .result(Http (system).singleRequest(request
205
205
.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 =>
207
207
if (response.status == StatusCodes .OK ){
208
208
log.info(" Successfully posted matching result to Instance Registry." )
209
209
Success ()
You can’t perform that action at this time.
0 commit comments