Skip to content

Commit

Permalink
return error for not implemented container inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Jun 16, 2021
1 parent d3df161 commit 8261c10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/containerd/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ func (c *ContainerdRuntime) DeleteNet(context.Context) error {
return nil
}
func (c *ContainerdRuntime) ContainerInspect(context.Context, string) (*types.GenericContainer, error) {
log.Fatalf("ContainerInspect() - Not implemented yet")
return nil, nil
return nil, errors.New("not implemented")
}

func (c *ContainerdRuntime) PullImageIfRequired(ctx context.Context, imagename string) error {
Expand Down

0 comments on commit 8261c10

Please sign in to comment.