Skip to content

Commit

Permalink
stop using Infix sequence wildcard scala 3 complains about it
Browse files Browse the repository at this point in the history
  • Loading branch information
hagay3 committed Nov 18, 2023
1 parent 14bd953 commit a916100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/test/scala/skuber/json/PodFormatSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ import Pod._
import NodeAffinity.{PreferredSchedulingTerm, PreferredSchedulingTerms}

val affinityJsonSource = Source.fromURL(getClass.getResource("/exampleAffinityNoRequirements.json"))
affinityJsonSource.reader()

val affinityJsonStr = affinityJsonSource.mkString

val myAffinity = Json.parse(affinityJsonStr).as[Affinity]
Expand Down

0 comments on commit a916100

Please sign in to comment.