Kaynağa Gözat

Merge pull request #864 from porter-dev/fix/live-logs-mix-with-system-logs

Fix application logs displaying on system logs
sunguroku 4 yıl önce
ebeveyn
işleme
d1e6a83348

+ 2 - 0
dashboard/src/main/home/cluster-dashboard/expanded-chart/status/Logs.tsx

@@ -139,6 +139,8 @@ export default class Logs extends Component<PropsType, StateType> {
     if (prevState.currentTab !== this.state.currentTab) {
       let { selectedPod } = this.props;
 
+      this.ws?.close();
+
       this.setState({ logs: [] });
 
       if (this.state.currentTab == "Application") {