This is an automated email from the ASF dual-hosted git repository.
mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git
The following commit(s) were added to refs/heads/main by this push:
new 1242e18c9 Minor refactoring to make variable name consistent
1242e18c9 is described below
commit 1242e18c9274f6f8268d7a1ec44ca21c6ff4b0de
Author: Matthew de Detrich <[email protected]>
AuthorDate: Mon Oct 30 04:07:43 2023 +0100
Minor refactoring to make variable name consistent
---
build.sbt | 2 +-
project/PekkoDependency.scala | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/build.sbt b/build.sbt
index 06052a642..5acf013dc 100644
--- a/build.sbt
+++ b/build.sbt
@@ -148,7 +148,7 @@ lazy val httpCore = project("http-core")
"pekko-stream-testkit",
"test",
pekko =
- if (System.getProperty("pekko.http.test-against-pekko-main", "false") ==
"true") PekkoDependency.mainSnapshot
+ if (System.getProperty("pekko.http.test-against-pekko-main", "false") ==
"true") PekkoDependency.snapshotMain
else PekkoDependency.default)
.settings(Dependencies.httpCore)
.settings(VersionGenerator.versionSettings)
diff --git a/project/PekkoDependency.scala b/project/PekkoDependency.scala
index bc78124ef..3539fc00b 100644
--- a/project/PekkoDependency.scala
+++ b/project/PekkoDependency.scala
@@ -43,7 +43,7 @@ object PekkoDependency {
Sources(pekkoSources)
case None =>
Option(System.getProperty("pekko.http.build.pekko.version")) match {
- case Some("main") => mainSnapshot
+ case Some("main") => snapshotMain
case Some("1.0.x") => snapshot10x
case Some("default") | None => Artifact(defaultVersion)
case Some(other) => Artifact(other, true)
@@ -57,7 +57,7 @@ object PekkoDependency {
def docs = default
lazy val snapshot10x = Artifact(determineLatestSnapshot("1.0"), true)
- lazy val mainSnapshot = Artifact(determineLatestSnapshot(), true)
+ lazy val snapshotMain = Artifact(determineLatestSnapshot(), true)
val pekkoVersion: String = default match {
case Artifact(version, _) => version
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]