From eb286385e7e8b18b99df83b7b9b94a1b4893ed1d Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Fri, 19 Jul 2024 14:49:39 +0200 Subject: [PATCH] regression: fixed `ARDUINO_USER_AGENT` pollution / resolve compile-sketch GH action failure on Teensy (#2669) * Removed useless gRPCClientUnknown tag * 'task build' now uses a compliant semver notation * Revert "'task build' now uses a compliant semver notation" This reverts commit 7f8ad1ff9ffaedc452c4d55ed1000bb2573573ea. --- commands/instances.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/commands/instances.go b/commands/instances.go index bd6764cf51d..3ec59027070 100644 --- a/commands/instances.go +++ b/commands/instances.go @@ -67,9 +67,6 @@ func (s *arduinoCoreServerImpl) Create(ctx context.Context, req *rpc.CreateReque if md, ok := metadata.FromIncomingContext(ctx); ok { userAgent = strings.Join(md.Get("user-agent"), " ") } - if userAgent == "" { - userAgent = "gRPCClientUnknown/0.0.0" - } // Setup downloads directory downloadsDir := s.settings.DownloadsDir()