Merge pull request #8129 from eed3si9n/wip/post

fix: Fix Central Portal status checking
This commit is contained in:
eugene yokota 2025-05-18 14:06:42 -04:00 committed by GitHub
commit ddff8eb908
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import scala.util.Try
// ThisBuild settings take lower precedence,
// but can be shared across the multi projects.
ThisBuild / version := {
val v = "1.10.11-SNAPSHOT"
val v = "1.11.0-SNAPSHOT"
nightlyVersion.getOrElse(v)
}
ThisBuild / version2_13 := "2.0.0-SNAPSHOT"

View File

@ -103,7 +103,7 @@ class SonaClient(reqTransform: Request => Request) extends AutoCloseable {
val req = Gigahorse
.url(s"${baseUrl}/publisher/status")
.addQueryString("id" -> deploymentId)
.get
.post("", StandardCharsets.UTF_8)
http.run(reqTransform(req), SonaClient.asPublisherStatus)
}