You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by st...@apache.org on 2023/01/25 10:14:35 UTC

[openwhisk] branch master updated: Fix typo (#5352)

This is an automated email from the ASF dual-hosted git repository.

style95 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new 4bc4c3b0e Fix typo (#5352)
4bc4c3b0e is described below

commit 4bc4c3b0e1294479dc20fa19389917d0f630a6a6
Author: Dominic Kim <st...@apache.org>
AuthorDate: Wed Jan 25 19:14:29 2023 +0900

    Fix typo (#5352)
    
    * Fix typo
    
    * Fix another typo
    
    * Apply scalaFmt
---
 docs/warmed-containers.md                                           | 4 ++--
 .../openwhisk/core/scheduler/queue/test/QueueManagerTests.scala     | 6 +++++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/docs/warmed-containers.md b/docs/warmed-containers.md
index d70e7e046..73ddaa024 100644
--- a/docs/warmed-containers.md
+++ b/docs/warmed-containers.md
@@ -37,12 +37,12 @@ case class UserLimits(invocationsPerMinute: Option[Int] = None,
                       warmedContainerKeepingTimeout: Option[String] = None)
 ```
 
-So those can be configured in the same way that operators configure the `invocationPerMinute` limit.
+So those can be configured in the same way that operators configure the `invocationsPerMinute` limit.
 
 ```json
 {
   "_id": "guest/limits",
-  "invocationPerMinutes": 10,
+  "invocationsPerMinute": 10,
   "warmedContainerKeepingCount": 8,
   "warmedContainerKeepingTimeout": "24 hours"
 }
diff --git a/tests/src/test/scala/org/apache/openwhisk/core/scheduler/queue/test/QueueManagerTests.scala b/tests/src/test/scala/org/apache/openwhisk/core/scheduler/queue/test/QueueManagerTests.scala
index ebf5a5cd2..5baa97ebc 100644
--- a/tests/src/test/scala/org/apache/openwhisk/core/scheduler/queue/test/QueueManagerTests.scala
+++ b/tests/src/test/scala/org/apache/openwhisk/core/scheduler/queue/test/QueueManagerTests.scala
@@ -496,7 +496,11 @@ class QueueManagerTests
     val finalFqn = newFqn.copy(version = Some(SemVer(0, 0, 3)))
     val finalRevision = DocRevision("3-test-revision")
     // simulate the case that action is updated again while fetch it from database
-    def newGet(store: ArtifactStore[WhiskEntity], docId: DocId, docRevision: DocRevision, fromCache: Boolean, ignoreMissingAttachment: Boolean) = {
+    def newGet(store: ArtifactStore[WhiskEntity],
+               docId: DocId,
+               docRevision: DocRevision,
+               fromCache: Boolean,
+               ignoreMissingAttachment: Boolean) = {
       if (docRevision == DocRevision.empty) {
         Future(convertToMetaData(action.copy(version = SemVer(0, 0, 3)).toWhiskAction.revision(finalRevision)))
       } else