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

Don't merge stdout/stderr on remote device-info. #2102

Merged
merged 1 commit into from
Jul 31, 2018

Conversation

AWoloszyn
Copy link
Contributor

If the remote device-info produces stderr output, but does not
fail, we should log it, but not try to parse it as json.

@AWoloszyn AWoloszyn requested a review from ben-clayton July 30, 2018 16:15
@@ -185,8 +186,16 @@ func (b binding) PushFile(ctx context.Context, source, dest string) error {
if err != nil {
return err
}
mode := permission.Mode()
// If we are on windows pushing to Linux, we lose the executable
// bit, geti t back.
Copy link
Contributor

Choose a reason for hiding this comment

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

get it back

If the remote device-info produces stderr output, but does not
fail, we should log it, but not try to parse it as json.

Also clean up some minor issues with Windows->Linux remote.
@AWoloszyn AWoloszyn merged commit bb9aea5 into google:master Jul 31, 2018
@AWoloszyn AWoloszyn deleted the stderr-ssh branch July 31, 2018 12:44
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.

2 participants