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

cmd: Remove sdkcmdutil.FileOrStdin use #337

Merged
merged 3 commits into from Jul 8, 2020

Conversation

marclop
Copy link
Collaborator

@marclop marclop commented Jul 8, 2020

Description

Using the sdkcmdutil.FileOrStdin does not work well when coupled with
Ansible since it thinks the Stdin is always populated even when not.

Related Issues

Resolves #318

Motivation and Context

Make most ecctl commands which have a --file flag work with Ansible.

How Has This Been Tested?

Using ansible-playbook

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)

Using the `sdkcmdutil.FileOrStdin` does not work well when coupled with
Ansible since it thinks the Stdin is always populated even when not.

Resolves elastic#318

Signed-off-by: Marc Lopez <marc5.12@outlook.com>
@marclop marclop added bug Something isn't working Team:Delivery labels Jul 8, 2020
@marclop marclop requested a review from a team as a code owner July 8, 2020 02:06
@marclop marclop self-assigned this Jul 8, 2020
Signed-off-by: Marc Lopez <marc5.12@outlook.com>
Signed-off-by: Marc Lopez <marc5.12@outlook.com>
Copy link
Contributor

@karencfv karencfv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved again? 😄

@marclop marclop merged commit 33d2c5c into elastic:master Jul 8, 2020
@marclop marclop deleted the b/remove-FileOrStdin-usages branch July 8, 2020 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Team:Delivery
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ecctl cannot create/update cluster when executed through ansible
2 participants