Skip to content

Commit

Permalink
fx
Browse files Browse the repository at this point in the history
  • Loading branch information
hirenko-v committed Oct 1, 2024
1 parent eb0a30d commit 9706361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/job/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (e *MsgExecutor) Execute(ctx context.Context, in executor.ExecuteInput) (ex
}
createCmd := fmt.Sprintf("kubectl apply -f %s", filePath)
plugin.ExecuteCommand(ctx, createCmd, plugin.ExecuteCommandEnvs(envs))
defer os.RemoveAll(jobName)
defer os.RemoveAll(filePath)
return executor.ExecuteOutput{
Message: api.NewCodeBlockMessage(fmt.Sprintf("Job %s is started",jobName), true),
}, nil
Expand Down

0 comments on commit 9706361

Please sign in to comment.