Skip to content

Commit

Permalink
Fix typo (#5352)
Browse files Browse the repository at this point in the history
* Fix typo

* Fix another typo

* Apply scalaFmt
  • Loading branch information
style95 authored Jan 25, 2023
1 parent 40944e6 commit 4bc4c3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/warmed-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4bc4c3b

Please sign in to comment.