hotfix(portforward): add missing break statements for log streaming

This commit is contained in:
Quentin McGaw
2026-07-30 11:49:18 +00:00
parent 44143aa3ba
commit 3d1e20c555
+2
View File
@@ -53,6 +53,7 @@ func streamLines(done chan<- struct{}, logger Logger,
case line, ok := <-stdout:
if ok {
logger.Info(line)
break
}
if stderr == nil {
return
@@ -61,6 +62,7 @@ func streamLines(done chan<- struct{}, logger Logger,
case line, ok := <-stderr:
if ok {
logger.Error(line)
break
}
if stdout == nil {
return