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

rsync: output warnings to stdout instead of using glog #5531

Merged
merged 2 commits into from
Nov 3, 2015

Conversation

csrwng
Copy link
Contributor

@csrwng csrwng commented Oct 30, 2015

Removes the use of glog for warning output

@csrwng
Copy link
Contributor Author

csrwng commented Oct 30, 2015

@fabianofranz ptal

@csrwng
Copy link
Contributor Author

csrwng commented Oct 30, 2015

or @bparees ptal

@bparees
Copy link
Contributor

bparees commented Oct 30, 2015

lgtm [merge]

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@fabianofranz
Copy link
Member

LGTM

@csrwng
Copy link
Contributor Author

csrwng commented Nov 2, 2015

@smarterclayton or @liggitt ptal

@@ -26,7 +26,7 @@ func (ss copyStrategies) Copy(source, destination *pathSpec, out, errOut io.Writ
err = s.Copy(source, destination, out, errBuf)
if _, isSetupError := err.(strategySetupError); isSetupError {
glog.V(4).Infof("Error output:\n%s", errBuf.String())
glog.Warningf("Cannot use %s: %v", s.String(), err.Error())
fmt.Fprintf(out, "WARNING: cannot use %s: %v", s.String(), err.Error())
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be to stderr - is that the case?

@csrwng
Copy link
Contributor Author

csrwng commented Nov 2, 2015

@smarterclayton thx, comments addressed

@smarterclayton
Copy link
Contributor

LGTM [merge]

@smarterclayton smarterclayton added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 2, 2015
@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6677/) (Image: devenv-rhel7_2631)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 2355304

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 2355304

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6677/)

openshift-bot pushed a commit that referenced this pull request Nov 3, 2015
@openshift-bot openshift-bot merged commit d6d4057 into openshift:master Nov 3, 2015
@openshift-bot openshift-bot merged commit 2355304 into openshift:master Nov 3, 2015
@csrwng csrwng deleted the rsync_warning branch January 27, 2016 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants