|
|
@@ -568,12 +568,6 @@ func (a *Agent) GetPodLogs(namespace string, name string, selectedContainer stri
|
|
|
return fmt.Errorf("Cannot get logs from pod %s: %s", name, err.Error())
|
|
|
}
|
|
|
|
|
|
- if !showPreviousLogs {
|
|
|
- // see if container is ready and able to open a stream. If not, wait for container
|
|
|
- // to be ready.
|
|
|
- err, _ = a.waitForPod(pod)
|
|
|
- }
|
|
|
-
|
|
|
if err != nil && goerrors.Is(err, IsNotFoundError) {
|
|
|
return IsNotFoundError
|
|
|
} else if err != nil {
|