Skip to content

fix: default scan output to JSON#135

Open
pollychen-lab wants to merge 1 commit into
OpenCHAMI:mainfrom
pollychen-lab:fix/scan-default-output-format
Open

fix: default scan output to JSON#135
pollychen-lab wants to merge 1 commit into
OpenCHAMI:mainfrom
pollychen-lab:fix/scan-default-output-format

Conversation

@pollychen-lab

Copy link
Copy Markdown

Summary

  • default magellan scan output to JSON when --format is omitted
  • retain explicit JSON and YAML format selection
  • add a regression test for the command's default format

Fixes #134.

Testing

  • go test ./cmd ./internal/format
  • git diff --check

I also ran go test ./.... Existing emulator-dependent integration tests could not connect to the Redfish emulator in the test container, and existing pkg tests failed on their container network assumptions.

Signed-off-by: Polly Labs <pollychen.lab@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: scan command has no output if --format argument missing

1 participant