Skip to content

Commit

Permalink
feat: discard the old configuration - 3
Browse files Browse the repository at this point in the history
  • Loading branch information
SongZhen0704 committed Jan 26, 2025
1 parent 50abcea commit 53024ae
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 946 deletions.
8 changes: 1 addition & 7 deletions server/controller/grpc/synchronizer/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package synchronize

import (
"strings"
"time"

api "github.com/deepflowio/deepflow/message/trident"
Expand Down Expand Up @@ -65,12 +64,7 @@ func (s *service) Sync(ctx context.Context, in *api.SyncRequest) (*api.SyncRespo
}

func (s *service) Push(r *api.SyncRequest, in api.Synchronizer_PushServer) error {
processName := r.GetProcessName()
if strings.HasPrefix(processName, "trident") || strings.HasPrefix(processName, "deepflow-agent") {
s.vTapEvent.Push(r, in)
} else {
s.tsdbEvent.Push(r, in)
}
s.tsdbEvent.Push(r, in)
return nil
}

Expand Down
146 changes: 0 additions & 146 deletions server/controller/trisolaris/services/grpc/synchronize/upgrade.go

This file was deleted.

Loading

0 comments on commit 53024ae

Please # to comment.