Skip to content

Commit 4bc4c3b

Browse files
authored
Fix typo (#5352)
* Fix typo * Fix another typo * Apply scalaFmt
1 parent 40944e6 commit 4bc4c3b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/warmed-containers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ case class UserLimits(invocationsPerMinute: Option[Int] = None,
3737
warmedContainerKeepingTimeout: Option[String] = None)
3838
```
3939

40-
So those can be configured in the same way that operators configure the `invocationPerMinute` limit.
40+
So those can be configured in the same way that operators configure the `invocationsPerMinute` limit.
4141

4242
```json
4343
{
4444
"_id": "guest/limits",
45-
"invocationPerMinutes": 10,
45+
"invocationsPerMinute": 10,
4646
"warmedContainerKeepingCount": 8,
4747
"warmedContainerKeepingTimeout": "24 hours"
4848
}

tests/src/test/scala/org/apache/openwhisk/core/scheduler/queue/test/QueueManagerTests.scala

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,11 @@ class QueueManagerTests
496496
val finalFqn = newFqn.copy(version = Some(SemVer(0, 0, 3)))
497497
val finalRevision = DocRevision("3-test-revision")
498498
// simulate the case that action is updated again while fetch it from database
499-
def newGet(store: ArtifactStore[WhiskEntity], docId: DocId, docRevision: DocRevision, fromCache: Boolean, ignoreMissingAttachment: Boolean) = {
499+
def newGet(store: ArtifactStore[WhiskEntity],
500+
docId: DocId,
501+
docRevision: DocRevision,
502+
fromCache: Boolean,
503+
ignoreMissingAttachment: Boolean) = {
500504
if (docRevision == DocRevision.empty) {
501505
Future(convertToMetaData(action.copy(version = SemVer(0, 0, 3)).toWhiskAction.revision(finalRevision)))
502506
} else

0 commit comments

Comments
 (0)