Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(set-session): only write json output if user provides --output json #390

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

reubenmiller
Copy link
Owner

Fix a bug with set-session (e.g. c8y sessions set), where it was assuming json output because the output was being written to a variable. This meant the existing set-session command would break as it would expect the stdout to be shell string (and not json!).

@reubenmiller reubenmiller merged commit 5be6aae into v2 Jun 10, 2024
4 checks passed
@reubenmiller reubenmiller deleted the fix-set-session branch June 10, 2024 14:21
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.

1 participant