This is an automated email from the ASF dual-hosted git repository.
dgrove 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 71b7d56 Fix typo in k8s config case class (#4924)
71b7d56 is described below
commit 71b7d564ff60bf6e89be5410ffcf59f785d17a4a
Author: dan mcweeney <[email protected]>
AuthorDate: Wed Jun 17 15:21:03 2020 -0400
Fix typo in k8s config case class (#4924)
---
.../openwhisk/core/containerpool/kubernetes/KubernetesClient.scala | 2 +-
.../openwhisk/core/containerpool/kubernetes/WhiskPodBuilder.scala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/KubernetesClient.scala
b/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/KubernetesClient.scala
index 1f47ad1..a07a89f 100644
---
a/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/KubernetesClient.scala
+++
b/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/KubernetesClient.scala
@@ -104,7 +104,7 @@ case class KubernetesClientConfig(timeouts:
KubernetesClientTimeoutConfig,
cpuScaling:
Option[KubernetesCpuScalingConfig],
pdbEnabled: Boolean,
fieldRefEnvironment: Option[Map[String,
String]],
- ephmeralStorage:
Option[KubernetesEphemeralStorageConfig])
+ ephemeralStorage:
Option[KubernetesEphemeralStorageConfig])
/**
* Serves as an interface to the Kubernetes API by proxying its REST API
and/or invoking the kubectl CLI.
diff --git
a/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/WhiskPodBuilder.scala
b/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/WhiskPodBuilder.scala
index a012a07..b5eda4d 100644
---
a/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/WhiskPodBuilder.scala
+++
b/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/WhiskPodBuilder.scala
@@ -107,7 +107,7 @@ class WhiskPodBuilder(client: NamespacedKubernetesClient,
config: KubernetesClie
.map(cpuConfig => Map("cpu" -> new Quantity(calculateCpu(cpuConfig,
memory) + "m")))
.getOrElse(Map.empty)
- val diskLimit = config.ephmeralStorage
+ val diskLimit = config.ephemeralStorage
.map(diskConfig => Map("ephemeral-storage" -> new
Quantity(diskConfig.limit.toMB + "Mi")))
.getOrElse(Map.empty)