Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Mar 7, 2024
1 parent 45111af commit 848fd71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pkg/eosclient/eosclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,5 @@ const AttrAlreadyExistsError = errtypes.BadRequest("attr already exists")
const AttrNotExistsError = errtypes.BadRequest("attr not exists")

// FileIsLockedError is the error raised when attempting to set a lock
// attribute to an already locked file with a mismatched lock
// attribute to an already locked file with a mismatched lock.
const FileIsLockedError = errtypes.BadRequest("file is locked")
12 changes: 6 additions & 6 deletions pkg/eosclient/eosgrpc/eosgrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,9 +531,9 @@ func (c *Client) SetAttr(ctx context.Context, auth eosclient.Authorization, attr
}

rq.Command = &erpc.NSRequest_Xattr{Xattr: msg}
if app != "" {
// rq.Header.Set("app", app)
}
// if app != "" {
// rq.Header.Set("app", app)
// }

// Now send the req and see what happens
resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq)
Expand Down Expand Up @@ -580,9 +580,9 @@ func (c *Client) UnsetAttr(ctx context.Context, auth eosclient.Authorization, at
msg.Id.Path = []byte(path)

rq.Command = &erpc.NSRequest_Xattr{Xattr: msg}
if app != "" {
// rq.Header.Set("app", app)
}
// if app != "" {
// rq.Header.Set("app", app)
// }

// Now send the req and see what happens
resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq)
Expand Down

0 comments on commit 848fd71

Please sign in to comment.