Skip to content

Commit c8c24f7

Browse files
committed
RHINENG-22748: "golang.org/x/net/context" is deprecated
1 parent b63efad commit c8c24f7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

base/mqueue/event.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ package mqueue
22

33
import (
44
"app/base/utils"
5+
"context"
56
"time"
67

78
"github.com/bytedance/sonic"
89
"github.com/lestrrat-go/backoff/v2"
9-
"golang.org/x/net/context"
1010
)
1111

1212
var BatchSize = utils.PodConfig.GetInt("msg_batch_size", 4000)

base/mqueue/payload_tracker_event.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ package mqueue
33
import (
44
"app/base/types"
55
"app/base/utils"
6+
"context"
67
"time"
78

89
"github.com/bytedance/sonic"
910
"github.com/pkg/errors"
10-
"golang.org/x/net/context"
1111
)
1212

1313
type PayloadTrackerEvent struct {

base/mqueue/platform_event.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ package mqueue
22

33
import (
44
"app/base/types"
5+
"context"
56
"time"
67

78
"github.com/bytedance/sonic"
89
"github.com/pkg/errors"
9-
"golang.org/x/net/context"
1010
)
1111

1212
type PlatformEvent struct {

0 commit comments

Comments
 (0)