Skip to content

Commit

Permalink
eosbinary: fix application flag (cs3org#3787)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode authored and gmgigi96 committed Jun 5, 2023
1 parent fe7eeb4 commit 6acb0cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog/unreleased/fix-eosbinary-app.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Bugfix: Fix application flag for EOS binary

https://github.com/cs3org/reva/pull/3787
4 changes: 2 additions & 2 deletions pkg/eosclient/eosbinary/eosbinary.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,11 @@ func (c *Client) executeEOS(ctx context.Context, cmdArgs []string, auth eosclien
cmd.Env = append(cmd.Env, "KRB5CCNAME=FILE:/dev/null") // do not try to use krb
}

cmd.Args = append(cmd.Args, cmdArgs...)

// add application label
cmd.Args = append(cmd.Args, "-a", "reva_eosclient::meta")

cmd.Args = append(cmd.Args, cmdArgs...)

span := trace.SpanFromContext(ctx)
cmd.Args = append(cmd.Args, "--comment", span.SpanContext().TraceID().String())

Expand Down

0 comments on commit 6acb0cb

Please sign in to comment.