Skip to content

Commit f0d38e4

Browse files
authored
Merge pull request #135 from metacoma/publish-pkg-argo-cd-order-0.2.0
argo-cd-order 0.2.0
2 parents de000b5 + fcc59f6 commit f0d38e4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

argo-cd-order/kcl.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "argo-cd-order"
3-
edition = "v0.1.2"
4-
version = "0.1.2"
3+
edition = "v0.2.0"
4+
version = "0.2.0"
55

66
[dependencies]
77
json_merge_patch = { oci = "oci://ghcr.io/kcl-lang/json_merge_patch", tag = "0.1.0" }

argo-cd-order/main.k

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ preparePhase = lambda phase: str, phaseResources: [any] -> [[ArgoCdManifest]] {
4444
[
4545
[
4646
patchResource(resource, str(sync_wave), phase)
47-
for resource in resources
48-
] for sync_wave, resources in phaseResources if resources != None
47+
for resource in resources if resource
48+
] for sync_wave, resources in phaseResources if resources
4949

5050
]
5151
}

0 commit comments

Comments
 (0)