Skip to content

Conversation

richm
Copy link
Contributor

@richm richm commented Nov 18, 2016

https://bugzilla.redhat.com/show_bug.cgi?id=1396433
Never test a value for empty? directly - always use the isempty
method which can be safely used.
Added tests to exercise the code with top level values and nested
values that do not have the empty? method.

…MethodError error="undefined method `empty?'

https://bugzilla.redhat.com/show_bug.cgi?id=1396433
Never test a value for `empty?` directly - always use the `isempty`
method which can be safely used.
Added tests to exercise the code with top level values and nested
values that do not have the `empty?` method.
@richm
Copy link
Contributor Author

richm commented Nov 18, 2016

[test]
@jcantrill @ewolinetz @nhosoi PTAL

@openshift-bot
Copy link

Evaluated for aggregated logging test up to c0217b1

@nhosoi
Copy link
Contributor

nhosoi commented Nov 18, 2016

Your fix and new test cases look good to me.

@openshift-bot
Copy link

Aggregated Logging Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/972/) (Base Commit: 64dade0)

@richm
Copy link
Contributor Author

richm commented Nov 19, 2016

[merge]

@openshift-bot
Copy link

Evaluated for aggregated logging merge up to c0217b1

@openshift-bot
Copy link

openshift-bot commented Nov 19, 2016

Aggregated Logging Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test-origin-aggregated-logging/973/) (Base Commit: 64dade0)

@openshift-bot openshift-bot merged commit e2ababa into openshift:master Nov 19, 2016
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.

3 participants