Skip to content

Commit 0c8a625

Browse files
author
Sebastian Florek
committed
Fix logs view inconsistency between different k8s versions
1 parent 6937a5a commit 0c8a625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/backend/logs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func getRawPodLogs(client *client.Client, namespace, podID string, logOptions *a
8181

8282
readCloser, err := req.Stream()
8383
if err != nil {
84-
return "", err
84+
return err.Error(), nil
8585
}
8686

8787
defer readCloser.Close()

0 commit comments

Comments
 (0)