Skip to content

Commit

Permalink
Implemented locality weighted load balancing (fixed tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
nastassia-dailidava committed Jan 15, 2024
1 parent 20ea5df commit b82b133
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class EnvoyAdmin(
}

fun configDump(): String {
val response = get("config_dump", "c")
val response = get("config_dump", "c") // todo remove
return response.body.use { it!!.string() }
}

Expand Down Expand Up @@ -112,7 +112,7 @@ class EnvoyAdmin(
return client.newCall(
Request.Builder()
.get()
.url(if(param.isEmpty())"$address/$path" else "$address/$path?&include_eds=on")
.url(if (param.isEmpty()) "$address/$path" else "$address/$path?&include_eds=on")
.build()
)
.execute().addToCloseableResponses()
Expand Down

0 comments on commit b82b133

Please sign in to comment.