mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-11-02 09:42:32 +08:00
fix error
This commit is contained in:
@@ -139,7 +139,7 @@ func (r *ResourceManager) GetWorkflowLogs(namespace, name, podName, containerNam
|
||||
stream, err := r.kubeClient.GetPodLogs(namespace, podName, containerName)
|
||||
|
||||
logWatcher := make(chan *model.LogEntry)
|
||||
if err != nil {
|
||||
if err == nil {
|
||||
go func() {
|
||||
scanner := bufio.NewScanner(stream)
|
||||
for scanner.Scan() {
|
||||
|
||||
Reference in New Issue
Block a user