mirror of https://github.com/knative/pkg.git
fix nil pointer (#1604)
This commit is contained in:
parent
f9904deb32
commit
2f05039198
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue