From 3edbdcc1911fe7f64f1a342eb2af73a3142540b7 Mon Sep 17 00:00:00 2001 From: "kevin.xu" Date: Wed, 23 Oct 2019 14:56:44 +0800 Subject: remove duplicated period remove a duplicated period --- runsc/boot/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runsc/boot/controller.go b/runsc/boot/controller.go index 5f644b57e..d177e1c91 100644 --- a/runsc/boot/controller.go +++ b/runsc/boot/controller.go @@ -51,7 +51,7 @@ const ( ContainerEvent = "containerManager.Event" // ContainerExecuteAsync is the URPC endpoint for executing a command in a - // container.. + // container. ContainerExecuteAsync = "containerManager.ExecuteAsync" // ContainerPause pauses the container. -- cgit v1.2.3 From 1f19624fa127d7d59cabe29593cc80b7fe6c81f8 Mon Sep 17 00:00:00 2001 From: "kevin.xu" Date: Wed, 23 Oct 2019 15:21:50 +0800 Subject: fix typo fix a typo --- runsc/boot/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runsc/boot/controller.go b/runsc/boot/controller.go index d177e1c91..928285683 100644 --- a/runsc/boot/controller.go +++ b/runsc/boot/controller.go @@ -161,7 +161,7 @@ func newController(fd int, l *Loader) (*controller, error) { }, nil } -// containerManager manages sandboes containers. +// containerManager manages sandbox containers. type containerManager struct { // startChan is used to signal when the root container process should // be started. -- cgit v1.2.3 From 7dcfcd53e4f3f0e1384ac42eacf2622a57d1b37c Mon Sep 17 00:00:00 2001 From: Brad Burlage Date: Thu, 31 Oct 2019 11:25:19 -0700 Subject: Fix overloaded use of $RUNTIME. Turns out we use $RUNTIME in scripts/common.sh to give a name to the runsc runtime used by the tests. PiperOrigin-RevId: 277764383 --- scripts/runtime_tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/runtime_tests.sh b/scripts/runtime_tests.sh index fb82b2491..9ee991e42 100755 --- a/scripts/runtime_tests.sh +++ b/scripts/runtime_tests.sh @@ -16,10 +16,10 @@ source $(dirname $0)/common.sh -if [ ! -v RUNTIME ]; then - echo 'Must set $RUNTIME' >&2 +if [ ! -v RUNTIME_TEST_NAME ]; then + echo 'Must set $RUNTIME_TEST_NAME' >&2 exit 1 fi install_runsc_for_test runtimes -test_runsc "//test/runtimes:${RUNTIME}_test" +test_runsc "//test/runtimes:${RUNTIME_TEST_NAME}_test" -- cgit v1.2.3