Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7dde80e

Browse files
committedJul 18, 2024
Removed useless gRPCClientUnknown tag
1 parent 8246eaa commit 7dde80e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎commands/instances.go

Lines changed: 0 additions & 3 deletions
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)
Please sign in to comment.