Skip to content

Commit

Permalink
Merge pull request #36 from whdalsrnt/master
Browse files Browse the repository at this point in the history
fix: fix a columns bug in analyze command
  • Loading branch information
whdalsrnt authored Jun 11, 2023
2 parents da41e84 + 09af182 commit f392672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spacectl/command/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def _execute_api(service, resource, verb, params=None, api_version='v1', output=
response_stream = _call_api(client, resource, verb, params, config=config)

for response in response_stream:
if verb in ['list', 'stat'] and parser:
if verb in ['list', 'stat', 'analyze'] and parser:
results = []
try:
for result in response.get('results', []):
Expand Down

0 comments on commit f392672

Please sign in to comment.