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

fix statements with formatting #904

Merged
merged 2 commits into from Apr 24, 2018
Merged

fix statements with formatting #904

merged 2 commits into from Apr 24, 2018

Conversation

jmrodri
Copy link
Contributor

@jmrodri jmrodri commented Apr 23, 2018

Making broker consistent with the log statements in bundle-lib, i.e. use
the *f version when logging formatting strings. It is most important
when using logrus, go-logging seems to handle it okay. But this PR will
make it easier to move to logrus in the future.

See PR #61 from bundle-lib for more information:

automationbroker/bundle-lib#61

Making broker consistent with the log statements in bundle-lib, i.e. use
the *f version when logging formatting strings. It is most important
when using logrus, go-logging seems to handle it okay. But this PR will
make it easier to move to logrus in the future.

See PR #61 from bundle-lib for more information:

automationbroker/bundle-lib#61
@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 23, 2018
pkg/app/app.go Outdated
@@ -42,7 +42,7 @@ import (
"github.com/automationbroker/bundle-lib/registries"
agnosticruntime "github.com/automationbroker/bundle-lib/runtime"
"github.com/automationbroker/config"
"github.com/jessevdk/go-flags"
flags "github.com/jessevdk/go-flags"
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this not cause issues?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

interesting goimports changed this, On an old version of goimports, it completely removed it, and on the other machine it added the above. I'll fix it using gedit :) But no it didn't seem to cause any issues since we're not also importing the system flags.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So goimports won't touch it now that I fixed it. It's weird that go-flags is actually used as flags.

@jmrodri jmrodri merged commit 8c7c1a1 into master Apr 24, 2018
@jmrodri jmrodri deleted the fix-messages branch May 31, 2018 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files. tech-debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants