OperatorFoundation / shapeshifter-dispatcher

Shapeshifter Dispatcher converts Pluggable Transports that implement the Go API from the Pluggable Transports 2.1 specification into proxies usable by applications. Several proxy modes are provided, including proxying of both TCP and UDP traffic.
https://OperatorFoundation.org/
MIT License
177 stars 28 forks source link

shapeshifter-dispatcher fails to compile: addInstance.Bytes undefined #27

Closed meskio closed 4 years ago

meskio commented 4 years ago

It seems that the master of the repo is failing to compile:

shapeshifter-dispatcher/shapeshifter-dispatcher❯ go build
# github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/toneburst
../../shapeshifter-transports/transports/Replicant/toneburst/monotone.go:34:26: addInstance.Bytes undefined (type monolith.Instance has no field or method Bytes)
../../shapeshifter-transports/transports/Replicant/toneburst/monotone.go:71:43: addInstance.Bytes undefined (type monolith.Instance has no field or method Bytes)

Is it possible that this Bytes function was not commited?

meskio commented 4 years ago

The problem seems to be https://github.com/OperatorFoundation/monolith-go/commit/b4f585cf0062cb70ad3f5bf57571733874063ec4#diff-22eef1e1d10b43ba66bb778f9b8c01f4L11

It looks like Bytes() was deleted in this commit, not sure if replaced by Messages().

consuelita commented 4 years ago

This has been resolved with release 2.1.1. Thank you!