fix nil pointer (#1604)

This commit is contained in:
Dave Protasowski 2020-08-11 12:29:06 -04:00 committed by GitHub
parent f9904deb32
commit 2f05039198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ func (k *kubelogs) startForPod(pod *corev1.Pod) {
defer k.m.Unlock()
k.err = err
}()
return
}
defer stream.Close()
// Read this container's stream.