From e634e0bcb70e5df575e3f6b6997f66a59d6414af Mon Sep 17 00:00:00 2001 From: Ale Paredes <1709578+ale7714@users.noreply.github.com> Date: Fri, 14 Jun 2024 11:23:20 -0400 Subject: [PATCH] Fix processConfig not updating debug or enableWebprofile (#4078) --- web/server/entrypoint.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/server/entrypoint.go b/web/server/entrypoint.go index bacc28e940f..c4b416a9da0 100644 --- a/web/server/entrypoint.go +++ b/web/server/entrypoint.go @@ -298,8 +298,8 @@ func (s *robotServer) serveWeb(ctx context.Context, cfg *config.Config) (err err if err != nil { return nil, err } - out.Debug = s.args.Debug || cfg.Debug - out.EnableWebProfile = s.args.WebProfile || cfg.EnableWebProfile + out.Debug = s.args.Debug || in.Debug + out.EnableWebProfile = s.args.WebProfile || in.EnableWebProfile out.FromCommand = true out.AllowInsecureCreds = s.args.AllowInsecureCreds out.UntrustedEnv = s.args.UntrustedEnv