Update METADAPT-A and METADAPT-B accordingly
This commit is contained in:
@@ -29,8 +29,8 @@ func (this *b) OpenTrans() (Trans, error) {
|
||||
return transB { underlying: stream }, nil
|
||||
}
|
||||
|
||||
func (this *b) AcceptTrans(ctx context.Context) (Trans, error) {
|
||||
stream, err := this.underlying.AcceptStream(ctx)
|
||||
func (this *b) AcceptTrans() (Trans, error) {
|
||||
stream, err := this.underlying.AcceptStream(context.Background())
|
||||
if err != nil { return nil, err }
|
||||
return transB { underlying: stream }, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user