From 563365b712d11ce43d857f66116e97bf26f18132 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 23 Jul 2025 02:40:41 -0400 Subject: [PATCH] fix: add name to app-json trigger code and some formatting --- plugins/scheduler-k3s/triggers.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/scheduler-k3s/triggers.go b/plugins/scheduler-k3s/triggers.go index aa1e4f0ae..d26056b99 100644 --- a/plugins/scheduler-k3s/triggers.go +++ b/plugins/scheduler-k3s/triggers.go @@ -39,7 +39,7 @@ func TriggerCorePostDeploy(appName string) error { Destination: common.GetAppDataDirectory("scheduler-k3s", appName), PluginName: "scheduler-k3s", ExtractedPaths: []common.CorePostDeployPath{ - {Name: "kustomization", IsDirectory: true}, + {Path: "kustomization", IsDirectory: true}, }, }) @@ -56,7 +56,12 @@ func TriggerCorePostExtract(appName string, sourceWorkDir string) error { PluginName: "scheduler-k3s", SourceWorkDir: sourceWorkDir, ToExtract: []common.CorePostExtractToExtract{ - {Path: kustomizeRootPath, IsDirectory: true, Destination: "kustomization"}, + { + Path: kustomizeRootPath, + IsDirectory: true, + Name: "config/kustomize", + Destination: "kustomization", + }, }, }) }