Skip to content

Commit

Permalink
Fixed Role.App in eos-grpc, still requires autogenerated bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Mar 22, 2024
1 parent f2854e1 commit d9cfec1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions pkg/eosclient/eosgrpc/eos_grpc/Rpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/eosclient/eosgrpc/eosgrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func (c *Client) initNSRequest(ctx context.Context, auth eosclient.Authorization
rq.Role.Uid = uidInt
rq.Role.Gid = gidInt
if app != "" {
rq.Role.Groupname = app // FIXME this is going to be rq.Role.App once the GRPC interface is updated
rq.Role.App = app
}
rq.Authkey = c.opt.Authkey

Expand Down

0 comments on commit d9cfec1

Please sign in to comment.