Skip to content

Commit

Permalink
chore: do not clean up installer's workspace
Browse files Browse the repository at this point in the history
Because we are using ephemeral workers, we do not want to remove previous files
  • Loading branch information
mdelapenya committed May 6, 2021
1 parent fbe8cd6 commit 9104501
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/installer/tar.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ func (i *TARPackage) Postinstall() error {
func (i *TARPackage) Preinstall() error {
// simplify layout
cmds := [][]string{
{"rm", "-fr", "/elastic-agent"},
{"mv", fmt.Sprintf("/%s-%s-%s-%s", i.artifact, i.version, i.OS, i.arch), "/elastic-agent"},
}
for _, cmd := range cmds {
Expand Down

0 comments on commit 9104501

Please sign in to comment.