Skip to content

Commit

Permalink
Clear table on new top start (linkerd#1687)
Browse files Browse the repository at this point in the history
Closes linkerd#1683

Signed-off-by: Mathis Wiehl <[email protected]>
  • Loading branch information
fahrradflucht authored and Risha Mars committed Sep 19, 2018
1 parent 8ab9b49 commit 30e6930
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/app/js/components/TopModule.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@ class TopModule extends React.Component {
}

startTapStreaming() {
this.tapResultsById = {};
this.topEventIndex = {};

let protocol = window.location.protocol === "https:" ? "wss" : "ws";
let tapWebSocket = `${protocol}:https://${window.location.host}${this.props.pathPrefix}/api/tap`;

Expand Down

0 comments on commit 30e6930

Please sign in to comment.