Skip to content

fix(enterprise): cluster get command fails with "error decoding response body" #316

@joshrotenberg

Description

@joshrotenberg

Problem

The enterprise cluster get command fails with "error decoding response body" even though the raw API call works.

Steps to Reproduce

# This fails
redisctl enterprise cluster get

# Error: Connection error: error decoding response body

# But this works
redisctl api enterprise get /v1/cluster

Expected Behavior

The typed wrapper command should parse and display cluster information correctly.

Likely Cause

Type definition mismatch between the Rust struct and the actual API response. The /v1/cluster endpoint returns many fields that might not be properly mapped in the type definitions.

Acceptance Criteria

  • enterprise cluster get command works without errors
  • Output can be filtered with -q flag
  • Add integration test for this command

Part of #315

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions