ha/doozerd

Unable to build doozerd with ./all.sh, errors related protobuf

Closed this issue · 1 comments

# github.com/ha/doozer
../doozer/conn.go:182: cannot use &t.req (type *request) as type proto.Message in function argument:
    *request does not implement proto.Message (missing ProtoMessage method)
../doozer/conn.go:196: cannot use &r (type *response) as type proto.Message in function argument:
    *response does not implement proto.Message (missing ProtoMessage method)
../doozer/conn.go:292: undefined: proto.GetInt64
../doozer/conn.go:324: undefined: proto.GetInt64
../doozer/conn.go:410: undefined: proto.GetInt32
../doozer/conn.go:410: undefined: proto.GetInt64
../doozer/err.go:33: undefined: proto.GetString
../doozer/msg.pb.go:10: undefined: proto.GetString
../doozer/msg.pb.go:127: cannot use this (type *request) as type proto.Message in function argument:
    *request does not implement proto.Message (missing ProtoMessage method)
../doozer/msg.pb.go:142: cannot use this (type *response) as type proto.Message in function argument:
    *response does not implement proto.Message (missing ProtoMessage method)
../doozer/msg.pb.go:142: too many errors
# github.com/ha/doozerd/consensus
consensus/m.pb.go:10: undefined: proto.GetString
consensus/m.pb.go:65: cannot use this (type *msg) as type proto.Message in function argument:
    *msg does not implement proto.Message (missing ProtoMessage method)
consensus/manager.go:230: cannot use &m (type *msg) as type proto.Message in function argument:
    *msg does not implement proto.Message (missing ProtoMessage method)
consensus/manager.go:240: cannot use &p.msg (type *msg) as type proto.Message in function argument:
    *msg does not implement proto.Message (missing ProtoMessage method)
consensus/run.go:65: cannot use m (type *msg) as type proto.Message in function argument:
    *msg does not implement proto.Message (missing ProtoMessage method)

build fix coming shortly, closing.