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

Bug 1577144 - fixing logging so it is more clear #949

Merged
merged 1 commit into from May 15, 2018

Conversation

shawn-hurley
Copy link
Contributor

Describe what this PR does and why we need it:

  • changes log statements to make things more obvious what is happening.

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 14, 2018
@@ -1445,7 +1445,7 @@ func (a AnsibleBroker) LastOperation(instanceUUID uuid.UUID, req *LastOperationR
jobstate, err := a.dao.GetState(instanceUUID.String(), req.Operation)
if err != nil {
// not sure what we do with the error if we can't find the state
log.Error(fmt.Sprintf("problem reading job state: [%s]. error: [%v]", instanceUUID, err.Error()))
log.Warning(fmt.Sprintf("unable to find job state: [%s]. error: [%v]", instanceUUID, 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.

I think we want to start using Warningf everywhere we can.

@rthallisey rthallisey added the 3.10 | release-1.2 Kubernetes 1.10 | Openshift 3.10 | Broker release-1.2 label May 15, 2018
@rthallisey rthallisey merged commit dc22a9d into openshift:master May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.10 | release-1.2 Kubernetes 1.10 | Openshift 3.10 | Broker release-1.2 size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants