Skip to content

Commit

Permalink
Revert "Wait 5s after installing a distro per Landscape request"
Browse files Browse the repository at this point in the history
This reverts commit 2543319.
Shouldn't commit directly to "main".
  • Loading branch information
CarlosNihelton committed Jan 30, 2025
1 parent 2543319 commit 64f93d8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions windows-agent/internal/proservices/landscape/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,6 @@ func (e executor) install(ctx context.Context, cmd *landscapeapi.Command_Install
}
}

sleep := distro.Command(ctx, "sleep 5")
if err := sleep.Run(); err != nil {
return fmt.Errorf("could not wait for distro to start: %v", err)
}

if cmd.GetCloudinit() != "" {
return nil
}
Expand Down

0 comments on commit 64f93d8

Please sign in to comment.