Skip to content

Commit

Permalink
Use "oldfind" in eos, this requires eos 5.2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Feb 13, 2024
1 parent bba0797 commit 4b9d815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/eosclient/eosbinary/eosbinary.go
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ func (c *Client) Rename(ctx context.Context, auth eosclient.Authorization, oldPa

// List the contents of the directory given by path.
func (c *Client) List(ctx context.Context, auth eosclient.Authorization, path string) ([]*eosclient.FileInfo, error) {
args := []string{"find", "--fileinfo", "--maxdepth", "1", path}
args := []string{"oldfind", "--fileinfo", "--maxdepth", "1", path}
stdout, _, err := c.executeEOS(ctx, args, auth)
if err != nil {
return nil, errors.Wrapf(err, "eosclient: error listing fn=%s", path)
Expand Down

0 comments on commit 4b9d815

Please sign in to comment.