Skip to content

Commit

Permalink
fixed overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
lbialy committed Sep 19, 2024
1 parent a4e7a42 commit baccd28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ object CustomResource:
name: besom.util.NonEmptyString,
args: CustomResourceArgs[A],
opts: besom.ResourceOptsVariant.Component ?=> besom.ComponentResourceOptions = besom.ComponentResourceOptions()
): besom.types.Output[CustomResource[A]] = {
): besom.types.Output[CustomResource[A]] = besom.internal.Output.getContext.flatMap { implicit ctx =>
val resourceName = besom.types.ResourceType.unsafeOf(s"kubernetes:${args.apiVersion}:${args.kind}")
given besom.types.ResourceDecoder[CustomResource[A]] = besom.internal.ResourceDecoder.derived[CustomResource[A]]
given besom.types.Decoder[CustomResource[A]] = besom.internal.Decoder.customResourceDecoder[CustomResource[A]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ object CustomResourcePatch:
name: besom.util.NonEmptyString,
args: CustomResourcePatchArgs[A],
opts: besom.ResourceOptsVariant.Component ?=> besom.ComponentResourceOptions = besom.ComponentResourceOptions()
): besom.types.Output[CustomResourcePatch[A]] = {
): besom.types.Output[CustomResourcePatch[A]] = besom.internal.Output.getContext.flatMap { implicit ctx =>
val resourceName = besom.types.ResourceType.unsafeOf(s"kubernetes:${args.apiVersion}:${args.kind}")
given besom.types.ResourceDecoder[CustomResourcePatch[A]] = besom.internal.ResourceDecoder.derived[CustomResourcePatch[A]]
given besom.types.Decoder[CustomResourcePatch[A]] = besom.internal.Decoder.customResourceDecoder[CustomResourcePatch[A]]
Expand Down

0 comments on commit baccd28

Please sign in to comment.