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

drop stdin for exec sync #750

Merged

Conversation

haircommander
Copy link
Collaborator

as i don't think there's a way it can be passed in

Signed-off-by: Peter Hunt~ pehunt@redhat.com

What type of PR is this?

/kind bug

What this PR does / why we need it:

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

none

@@ -65,7 +65,6 @@ interface Conmon {
timeoutSec @1 :UInt64;
command @2 :List(Text);
terminal @3 :Bool;
stdin @4 :Bool;
Copy link
Member

Choose a reason for hiding this comment

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

It also has to be removed from the client.go

@codecov-commenter
Copy link

codecov-commenter commented Sep 22, 2022

Codecov Report

Merging #750 (298a34f) into main (0ad3325) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #750   +/-   ##
=======================================
  Coverage   31.84%   31.84%           
=======================================
  Files          13       13           
  Lines        1118     1118           
  Branches      421      421           
=======================================
  Hits          356      356           
  Misses        479      479           
  Partials      283      283           

@@ -709,7 +709,6 @@ func (c *ConmonClient) ExecSyncContainer(ctx context.Context, cfg *ExecSyncConfi
return err
}
req.SetTerminal(cfg.Terminal)
req.SetStdin(cfg.Stdin)
Copy link
Member

@saschagrunert saschagrunert Sep 22, 2022

Choose a reason for hiding this comment

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

I’d say we drop it from the cfg type as well.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

🙃 good catch

Copy link
Member

Choose a reason for hiding this comment

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

Ah the tests have to be fixed as well.

Copy link
Member

@saschagrunert saschagrunert left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 22, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: haircommander, saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [haircommander,saschagrunert]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

as i don't think there's a way it can be passed in

Signed-off-by: Peter Hunt~ <pehunt@redhat.com>
@haircommander
Copy link
Collaborator Author

PTAL @saschagrunert if still around

@saschagrunert
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Sep 22, 2022
@openshift-merge-robot openshift-merge-robot merged commit 488bb96 into containers:main Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants