Skip to content

Commit

Permalink
Fix the Enhanced Compilation Failure Issue
Browse files Browse the repository at this point in the history
Signed-off-by: kangmingfa <1640528278@qq.com>
  • Loading branch information
bfforever committed May 10, 2024
1 parent 92ec791 commit d296a23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/bpf/bpf_kmesh.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ func (sc *BpfSockOps) NewBpf(cfg *options.BpfConfig) error {
return nil
}

func NewBpfKmesh(cfg *options.BpfConfig) (BpfKmesh, error) {
func NewBpfKmesh(cfg *options.BpfConfig) (*BpfKmesh, error) {
var err error

sc := BpfKmesh{}
sc := &BpfKmesh{}

sc.TracePoint.NewBpf(cfg)

Expand Down

0 comments on commit d296a23

Please sign in to comment.