Skip to content

Commit

Permalink
fix: add more comments
Browse files Browse the repository at this point in the history
Signed-off-by: zong-zhe <[email protected]>
  • Loading branch information
zong-zhe committed Feb 4, 2024
1 parent 18198b3 commit 75ab57f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/controller/kclrun_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ func (r *KCLRunReconciler) requestsForRevisionChangeOf() handler.MapFunc {
}
}

// TODO: This is a temporary function to compile the KCL source code into kubernetes manifests
// The api of compiling the KCL source code will be updated in the future to fix the issue
func CompileKclPackage(pkgPath string) (*kcl.KCLResultList, error) {
kpmcli, _ := kclcli.NewKpmClient()
opts := opt.DefaultCompileOptions()
Expand Down

0 comments on commit 75ab57f

Please sign in to comment.