smgr: not enough arguments in call to s.Sess.OpenStreamSync
Closed this issue · 2 comments
chinglinwen commented
viaduct build error
quic-go@v0.19.2 need context parameter for some functions
# github.com/kubeedge/viaduct/pkg/smgr
../../pkg/mod/github.com/kubeedge/viaduct@v0.0.0-20201130063818-e33931917980/pkg/smgr/session.go:25:38: not enough arguments in call to s.Sess.OpenStreamSync
have ()
want (context.Context)
../../pkg/mod/github.com/kubeedge/viaduct@v0.0.0-20201130063818-e33931917980/pkg/smgr/session.go:45:36: not enough arguments in call to s.Sess.AcceptStream
have ()
want (context.Context)
../../pkg/mod/github.com/kubeedge/viaduct@v0.0.0-20201130063818-e33931917980/pkg/smgr/session.go:68:15: s.Sess.Close undefined (type quic.Session has no field or method Close)
dw96998 commented
Change your quic-go's version to v0.10.1, and change your bifurcation/mint's version to v0.0.0-20180715133206-93c51c6ce115, and then try again.
chinglinwen commented
I think I've resolve the issue, similar to change quic-go's version, thank you!