瀏覽代碼

remove debug lines from infra stream

Alexander Belanger 3 年之前
父節點
當前提交
726cb3e9cf
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      api/server/handlers/infra/stream_logs.go

+ 0 - 5
api/server/handlers/infra/stream_logs.go

@@ -3,7 +3,6 @@ package infra
 import (
 import (
 	"context"
 	"context"
 	"errors"
 	"errors"
-	"fmt"
 	"io"
 	"io"
 	"net/http"
 	"net/http"
 	"sync"
 	"sync"
@@ -68,7 +67,6 @@ func (c *InfraStreamLogHandler) ServeHTTP(w http.ResponseWriter, r *http.Request
 		for {
 		for {
 			if _, _, err := safeRW.ReadMessage(); err != nil {
 			if _, _, err := safeRW.ReadMessage(); err != nil {
 				errorchan <- nil
 				errorchan <- nil
-				fmt.Println("closing websocket goroutine")
 				return
 				return
 			}
 			}
 		}
 		}
@@ -87,8 +85,6 @@ func (c *InfraStreamLogHandler) ServeHTTP(w http.ResponseWriter, r *http.Request
 					errorchan <- err
 					errorchan <- err
 				}
 				}
 
 
-				fmt.Println("closing grpc goroutine")
-
 				return
 				return
 			}
 			}
 
 
@@ -96,7 +92,6 @@ func (c *InfraStreamLogHandler) ServeHTTP(w http.ResponseWriter, r *http.Request
 
 
 			if err != nil {
 			if err != nil {
 				errorchan <- nil
 				errorchan <- nil
-				fmt.Println("closing grpc goroutine")
 				return
 				return
 			}
 			}
 		}
 		}