Skip to content

Commit cc9bc49

Browse files
authored
chore: fix spelling (#5077)
1 parent 00642f7 commit cc9bc49

File tree

28 files changed

+46
-46
lines changed

28 files changed

+46
-46
lines changed

ansible/roles/elasticsearch/tasks/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
mode: 0755
3838
become: "{{ db.elasticsearch.dir.become }}"
3939

40-
# create volume direcotry if it's a directory path(not a named volume)
40+
# create volume directory if it's a directory path(not a named volume)
4141
- name: ensure elasticserach volume directory is created with permissions
4242
file:
4343
path: "{{ volume_name }}"

common/scala/src/main/scala/org/apache/openwhisk/common/Logging.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class AkkaLogging(loggingAdapter: LoggingAdapter) extends Logging {
107107
}
108108

109109
/**
110-
* Implementaion of Logging, that uses the output stream.
110+
* Implementation of Logging, that uses the output stream.
111111
*/
112112
class PrintStreamLogging(outputStream: PrintStream = Console.out) extends Logging {
113113
override def emit(loglevel: LogLevel, id: TransactionId, from: AnyRef, message: => String) = {

common/scala/src/main/scala/org/apache/openwhisk/core/database/MultipleReadersSingleWriterCache.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ trait MultipleReadersSingleWriterCache[W, Winfo] {
378378
case Failure(t) =>
379379
// oops, the datastore read failed. invalidate the cache entry
380380
// note: that this might be a perfectly legitimate failure,
381-
// e.g. a lookup for a non-existant key; we need to pass the particular t through
381+
// e.g. a lookup for a non-existent key; we need to pass the particular t through
382382
invalidateEntry(key, entry)
383383
promise.failure(t)
384384
}

common/scala/src/main/scala/org/apache/openwhisk/core/entity/DocInfo.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ protected[core] case class DocInfo protected[entity] (id: DocId, rev: DocRevisio
9494
*
9595
* @param id the document id
9696
* @param rev the document revision, optional; this is an opaque value determined by the datastore
97-
* @param error the error, that occured on trying to put this document into CouchDB
97+
* @param error the error, that occurred on trying to put this document into CouchDB
9898
* @param reason the error message that correspands to the error
9999
*/
100100
case class BulkEntityResult(id: String, rev: Option[DocRevision], error: Option[String], reason: Option[String]) {

common/scala/src/main/scala/org/apache/openwhisk/core/entity/WhiskAction.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ object WhiskAction extends DocumentFactory[WhiskAction] with WhiskEntityQueries[
367367
"annotations",
368368
"updated")
369369

370-
// overriden to store attached code
370+
// overridden to store attached code
371371
override def put[A >: WhiskAction](db: ArtifactStore[A], doc: WhiskAction, old: Option[WhiskAction])(
372372
implicit transid: TransactionId,
373373
notifier: Option[CacheChangeNotification]): Future[DocInfo] = {
@@ -420,7 +420,7 @@ object WhiskAction extends DocumentFactory[WhiskAction] with WhiskEntityQueries[
420420
}
421421
}
422422

423-
// overriden to retrieve attached code
423+
// overridden to retrieve attached code
424424
override def get[A >: WhiskAction](
425425
db: ArtifactStore[A],
426426
doc: DocId,

common/scala/src/main/scala/org/apache/openwhisk/core/entity/WhiskPackage.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ object WhiskPackage
203203

204204
lazy val publicPackagesView: View = WhiskQueries.entitiesView(collection = s"$collectionName-public")
205205

206-
// overriden to store encrypted parameters.
206+
// overridden to store encrypted parameters.
207207
override def put[A >: WhiskPackage](db: ArtifactStore[A], doc: WhiskPackage, old: Option[WhiskPackage])(
208208
implicit transid: TransactionId,
209209
notifier: Option[CacheChangeNotification]): Future[DocInfo] = {

core/controller/src/main/scala/org/apache/openwhisk/core/loadBalancer/InvokerSupervision.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ class InvokerActor(invokerInstance: InvokerInstanceId, controllerInstance: Contr
416416

417417
case _ =>
418418
// At steady state, the state of the buffer superceded and we hold the current state
419-
// until enough events have occured to transition to a new state.
419+
// until enough events have occurred to transition to a new state.
420420
stay
421421
}
422422
}

core/controller/src/main/scala/org/apache/openwhisk/core/loadBalancer/ShardingContainerPoolBalancer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ import scala.concurrent.duration.FiniteDuration
114114
* no ping is seen for a defined amount of time, the invoker is considered "Offline".
115115
*
116116
* Moreover, results from all activations are inspected. If more than 3 out of the last 10 activations contained system
117-
* errors, the invoker is considered "Unhealthy". If an invoker is unhealty, no user workload is sent to it, but
117+
* errors, the invoker is considered "Unhealthy". If an invoker is unhealthy, no user workload is sent to it, but
118118
* test-actions are sent by the loadbalancer to check if system errors are still happening. If the
119119
* system-error-threshold-count in the last 10 activations falls below 3, the invoker is considered "Healthy" again.
120120
*

core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/ContainerProxy.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ class ContainerProxy(factory: (TransactionId,
555555

556556
// container is reclaimed by the pool or it has become too old
557557
case Event(StateTimeout | Remove, data: WarmedData) =>
558-
rescheduleJob = true // to supress sending message to the pool and not double count
558+
rescheduleJob = true // to suppress sending message to the pool and not double count
559559
destroyContainer(data, true)
560560
}
561561

core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/docker/DockerCliLogStore.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ class ExtendedDockerClient(dockerHost: Option[String] = None)(executionContext:
6464
private val waitForLogs: FiniteDuration = 2.seconds
6565
private val logTimeSpanMargin = 1.second
6666

67-
def collectLogs(id: ContainerId, since: Instant, untill: Instant)(implicit transid: TransactionId): Future[String] = {
67+
def collectLogs(id: ContainerId, since: Instant, until: Instant)(implicit transid: TransactionId): Future[String] = {
6868
//Add a slight buffer to account for delay writes of logs
69-
val end = untill.plusSeconds(logTimeSpanMargin.toSeconds)
69+
val end = until.plusSeconds(logTimeSpanMargin.toSeconds)
7070
runCmd(
7171
Seq(
7272
"logs",

0 commit comments

Comments
 (0)