Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
orvice committed May 6, 2024
1 parent 623de1c commit ec28058
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions pkg/v2ray-manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ type TrafficInfo struct {
}

func NewManager(addr, tag string, l *slog.Logger) (*Manager, error) {
slog.Info("create new mgr", "addr", addr)
cc, err := grpc.Dial(addr, grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
slog.Error("grpc dail failed", "addr", addr)
Expand Down
1 change: 0 additions & 1 deletion server/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ func getV2rayManager() ([]*v2raymanager.Manager, error) {
}
vms[k] = vm
}

return vms, nil
}

Expand Down

0 comments on commit ec28058

Please sign in to comment.