Skip to content

Commit eb28638

Browse files
authored
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 7f8ad1f.
1 parent 8246eaa commit eb28638

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: commands/instances.go

-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ func (s *arduinoCoreServerImpl) Create(ctx context.Context, req *rpc.CreateReque
6767
if md, ok := metadata.FromIncomingContext(ctx); ok {
6868
userAgent = strings.Join(md.Get("user-agent"), " ")
6969
}
70-
if userAgent == "" {
71-
userAgent = "gRPCClientUnknown/0.0.0"
72-
}
7370

7471
// Setup downloads directory
7572
downloadsDir := s.settings.DownloadsDir()

0 commit comments

Comments
 (0)