ubuntu / zsys

ZSys daemon and client for zfs systems
GNU General Public License v3.0
301 stars 43 forks source link

go.mod: update deps & port to the new protobuf #248

Closed xnox closed 1 year ago

xnox commented 1 year ago

go.mod: update deps & port to the new protobuf

xnox commented 1 year ago
$ /snap/bin/go build
# github.com/ubuntu/zsys
./zsys.streamlogger.go:78:2: undefined: RegisterUnsafeZsysServer

So probably need to adjust the template too.

xnox commented 1 year ago

I wonder if this is still futile.

xnox commented 1 year ago
$ /snap/bin/go test ./...
?       github.com/ubuntu/zsys  [no test files]
# github.com/ubuntu/zsys/internal/daemon
internal/daemon/daemon.go:138:36: cannot use s (variable of type *Server) as zsys.ZsysServerIdleTimeout value in argument to zsys.RegisterServer: *Server does not implement zsys.ZsysServerIdleTimeout (missing method mustEmbedUnimplementedZsysServer)

getting there

xnox commented 1 year ago

THis now passes all checks, can you please review and merge?