fix: delete the temporary helm chart on disk
This commit is contained in:
1 parent
99f20a962e
commit
cf7d35601d
1 file changed
+1
-1
@@ -231,7 +231,7 @@ func TriggerSchedulerDeploy(scheduler string, appName string, imageTag string) e
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("Error creating chart directory: %w", err)
|
return fmt.Errorf("Error creating chart directory: %w", err)
|
||||||
}
|
}
|
||||||
// defer os.RemoveAll(chartDir)
|
defer os.RemoveAll(chartDir)
|
||||||
|
|
||||||
if err := os.MkdirAll(filepath.Join(chartDir, "templates"), os.FileMode(0755)); err != nil {
|
if err := os.MkdirAll(filepath.Join(chartDir, "templates"), os.FileMode(0755)); err != nil {
|
||||||
return fmt.Errorf("Error creating chart templates directory: %w", err)
|
return fmt.Errorf("Error creating chart templates directory: %w", err)
|
||||||
|
|||||||
Reference in new issue
Block a user