File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
pkg/oc/cli/admin/diagnostics/diagnostics/cluster/network Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import (
14
14
"github.com/openshift/source-to-image/pkg/tar"
15
15
s2ifs "github.com/openshift/source-to-image/pkg/util/fs"
16
16
17
+ corev1 "k8s.io/api/core/v1"
17
18
kerrs "k8s.io/apimachinery/pkg/util/errors"
18
19
kapi "k8s.io/kubernetes/pkg/apis/core"
19
20
"k8s.io/kubernetes/pkg/kubectl/polymorphichelpers"
@@ -99,7 +100,7 @@ func (d *NetworkDiagnostic) copyNetworkPodInfo(pod *kapi.Pod) error {
99
100
100
101
func (d * NetworkDiagnostic ) getNetworkPodLogs (pod * kapi.Pod ) error {
101
102
bytelim := int64 (1024000 )
102
- opts := & kapi .PodLogOptions {
103
+ opts := & corev1 .PodLogOptions {
103
104
TypeMeta : pod .TypeMeta ,
104
105
Container : pod .Name ,
105
106
Follow : true ,
You can’t perform that action at this time.
0 commit comments