Go: fix bugs (#16911)

### Summary

1. Fix 'list users' in admin CLI
2. Change 3 slow test cases priority.

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-07-14 21:58:33 +08:00
committed by GitHub
parent bd7a3bb878
commit c242669a9d
6 changed files with 12 additions and 7 deletions

View File

@@ -1762,7 +1762,7 @@ func (c *CLI) AdminListUsersCommand(cmd *Command) (ResponseIf, error) {
var result CommonResponse
if err = json.Unmarshal(resp.Body, &result); err != nil {
return nil, fmt.Errorf("list users failed: invalid JSON (%w)", err)
return nil, fmt.Errorf("list users failed: invalid JSON (%w), body: %s", err, string(resp.Body))
}
if result.Code != 0 {