Remove empty proto i/o structs in favor of placeholders
This commit is contained in:
parent
fcbc29c80b
commit
a4a04a15fb
6 changed files with 360 additions and 169 deletions
|
@ -9,7 +9,6 @@ import (
|
|||
"path"
|
||||
"time"
|
||||
|
||||
"github.com/golang/protobuf/ptypes/empty"
|
||||
"github.com/mdiluz/rove/pkg/game"
|
||||
"github.com/mdiluz/rove/pkg/rove"
|
||||
"github.com/mdiluz/rove/pkg/version"
|
||||
|
@ -108,7 +107,7 @@ func InnerMain(command string) error {
|
|||
// Handle all the commands
|
||||
switch command {
|
||||
case "status":
|
||||
response, err := client.Status(ctx, &empty.Empty{})
|
||||
response, err := client.Status(ctx, &rove.StatusRequest{})
|
||||
switch {
|
||||
case err != nil:
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue