From 64f93d844b17c4b875234833de1b1c06a39e73d4 Mon Sep 17 00:00:00 2001 From: Carlos Nihelton Date: Thu, 30 Jan 2025 10:36:21 -0300 Subject: [PATCH] Revert "Wait 5s after installing a distro per Landscape request" This reverts commit 25433195b70c36cd24ffeb84a98ebfc72197dadf. Shouldn't commit directly to "main". --- windows-agent/internal/proservices/landscape/executor.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/windows-agent/internal/proservices/landscape/executor.go b/windows-agent/internal/proservices/landscape/executor.go index 6137522a7..64f0c251d 100644 --- a/windows-agent/internal/proservices/landscape/executor.go +++ b/windows-agent/internal/proservices/landscape/executor.go @@ -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 }