Skip to content

Commit 5bc1f30

Browse files
committed
Upgrade dependencies
1 parent a32a997 commit 5bc1f30

File tree

2 files changed

+12
-22
lines changed

2 files changed

+12
-22
lines changed

build.sbt

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
val scala212 = "2.12.18"
2-
val scala213 = "2.13.13"
3-
val scala3 = "3.3.3"
1+
val scala212 = "2.12.20"
2+
val scala213 = "2.13.15"
3+
val scala3 = "3.3.4"
44
val allScala = Seq(scala212, scala213, scala3)
55

6-
val zioVersion = "2.1.9"
6+
val zioVersion = "2.1.14"
77
val zioGrpcVersion = "0.6.2"
88
val grpcNettyVersion = "1.63.2"
9-
val zioK8sVersion = "2.1.1"
9+
val zioK8sVersion = "3.1.0"
1010
val zioCacheVersion = "0.2.3"
1111
val zioCatsInteropVersion = "23.1.0.0"
12-
val sttpVersion = "3.9.6"
13-
val calibanVersion = "2.9.0"
12+
val sttpVersion = "3.10.1"
13+
val calibanVersion = "2.9.1"
1414
val redis4catsVersion = "1.5.2"
1515
val redissonVersion = "3.27.1"
1616
val scalaKryoVersion = "1.2.0"

health-k8s/src/main/scala/com/devsisters/shardcake/K8sPodsHealth.scala

+5-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
package com.devsisters.shardcake
22

3-
import com.coralogix.zio.k8s.client.{
4-
CodingFailure,
5-
DecodedFailure,
6-
DeserializationFailure,
7-
Gone,
8-
HttpFailure,
9-
InvalidEvent,
10-
K8sFailure,
11-
K8sRequestInfo,
12-
NotFound,
13-
RequestFailure,
14-
Unauthorized,
15-
UndefinedField
16-
}
17-
import com.coralogix.zio.k8s.client.model.{ FieldSelector, LabelSelector }
3+
import com.coralogix.zio.k8s.client._
4+
import com.coralogix.zio.k8s.client.model.FieldSelector
185
import com.coralogix.zio.k8s.client.v1.pods.Pods
196
import com.coralogix.zio.k8s.model.pkg.apis.meta.v1.Status
207
import com.devsisters.shardcake.interfaces.PodsHealth
@@ -97,6 +84,9 @@ object K8sPodsHealth {
9784

9885
case NotFound =>
9986
new K8sException("not found")
87+
88+
case ErrorEvent(status, message, reason, code) =>
89+
new K8sException(s"error event with status $status, reason $reason, code $code: $message")
10090
}
10191

10292
private def toLogString(requestInfo: K8sRequestInfo) = {

0 commit comments

Comments
 (0)