Skip to content

Commit

Permalink
Remove duplicated import "k8s.io/cri-api/pkg/apis"
Browse files Browse the repository at this point in the history
  • Loading branch information
surik committed Aug 23, 2023
1 parent a4d2d4c commit 68bed6b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/crictl/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import (
"github.com/golang/protobuf/jsonpb" //nolint:staticcheck
"github.com/golang/protobuf/proto" //nolint:staticcheck
utilyaml "k8s.io/apimachinery/pkg/util/yaml"
cri "k8s.io/cri-api/pkg/apis"
internalapi "k8s.io/cri-api/pkg/apis"
pb "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/yaml"
Expand Down Expand Up @@ -389,9 +388,9 @@ func getRepoImage(imageClient internalapi.ImageManagerService, image string) (st

func handleDisplay(
ctx context.Context,
client cri.RuntimeService,
client internalapi.RuntimeService,
watch bool,
displayFunc func(context.Context, cri.RuntimeService) error,
displayFunc func(context.Context, internalapi.RuntimeService) error,
) error {
if !watch {
return displayFunc(ctx, client)
Expand Down

0 comments on commit 68bed6b

Please sign in to comment.