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