Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Commit

Permalink
containerd-shim-kata: rename shim name to v2
Browse files Browse the repository at this point in the history
In order to get rid of the confusion with shim's api
version, rename kata shimv2's shim to containerd-shim-kata-v2,
here the "v2" means the api version instead of the binary
shim's version. For the cri plugin, please set runtime_type
as: io.containerd.kata.v2

Fixes: kata-containers#485

Signed-off-by: fupan <[email protected]>
  • Loading branch information
lifupan committed Sep 4, 2018
1 parent 65bb274 commit 43e91d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ DEFHOTPLUGVFIOONROOTBUS := false
SED = sed

CLI_DIR = cli
SHIMV2 = containerd-shim-kata-v1
SHIMV2 = containerd-shim-kata-v2
SHIMV2_OUTPUT = $(CURDIR)/$(SHIMV2)
SHIMV2_DIR = $(CLI_DIR)/$(SHIMV2)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ import (
)

func main() {
shim.Run("io.containerd.kata.v1", kata.New)
shim.Run("io.containerd.kata.v2", kata.New)
}

0 comments on commit 43e91d8

Please sign in to comment.