Skip to content

Commit

Permalink
Merge pull request #135 from metacoma/publish-pkg-argo-cd-order-0.2.0
Browse files Browse the repository at this point in the history
argo-cd-order 0.2.0
  • Loading branch information
Peefy authored May 7, 2024
2 parents de000b5 + fcc59f6 commit f0d38e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions argo-cd-order/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "argo-cd-order"
edition = "v0.1.2"
version = "0.1.2"
edition = "v0.2.0"
version = "0.2.0"

[dependencies]
json_merge_patch = { oci = "oci://ghcr.io/kcl-lang/json_merge_patch", tag = "0.1.0" }
4 changes: 2 additions & 2 deletions argo-cd-order/main.k
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ preparePhase = lambda phase: str, phaseResources: [any] -> [[ArgoCdManifest]] {
[
[
patchResource(resource, str(sync_wave), phase)
for resource in resources
] for sync_wave, resources in phaseResources if resources != None
for resource in resources if resource
] for sync_wave, resources in phaseResources if resources

]
}
Expand Down

0 comments on commit f0d38e4

Please sign in to comment.