Skip to content

Commit 968689f

Browse files
committed
Removed useless gRPCClientUnknown tag
1 parent b4f8849 commit 968689f

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)