-
Notifications
You must be signed in to change notification settings - Fork 231
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 1427289 - Fix log updates when switching containers #1310
Bug 1427289 - Fix log updates when switching containers #1310
Conversation
streamer.stop(); | ||
streamer = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already set to null at line 401 below
app/scripts/directives/logViewer.js
Outdated
if($scope.state !== 'logs') { | ||
// Prevent flicker switching from a container with an empty log | ||
// to one with content. | ||
if ($scope.state === 'empty') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happens if you go from empty to empty
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b414f5a
to
ee1010e
Compare
@jwforres updated |
[merge] |
Not surprising but it was an AWS issue [merge]
…On Tue, Feb 28, 2017 at 5:07 PM, OpenShift Bot ***@***.***> wrote:
Origin Web Console Merge Results: FAILURE (https://ci.openshift.redhat.
com/jenkins/job/test_pull_requests_origin_web_console/1120/) (Base
Commit: cfbf483
<cfbf483>
)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1310 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABZk7aBww5jFs81qW-gotFQhlCR92HJkks5rhJqVgaJpZM4MO6Bg>
.
|
[merge] |
The `onClose` callback for log streamers happens asynchronously. Make sure the `onClose` cleanup happens before we begin streaming the next container log. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1427289
ee1010e
to
1280382
Compare
Pushed dist update [merge] |
Evaluated for origin web console merge up to 1280382 |
Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1125/) (Base Commit: cfbf483) |
The
onClose
callback for log streamers happens asynchronously. Make sure theonClose
cleanup happens before we begin streaming the next container log.Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1427289
@jwforres mostly whitespace changes