From 752d4a5d412520f88209733aeec051e3d5987b41 Mon Sep 17 00:00:00 2001 From: guocanfeng Date: Mon, 6 Jun 2022 15:03:41 +0800 Subject: [PATCH] Repair the wrong words --- e2e/multinet_test.go | 6 +++--- pkg/constants/vm.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/multinet_test.go b/e2e/multinet_test.go index 6dd62d291..1eb046c7f 100644 --- a/e2e/multinet_test.go +++ b/e2e/multinet_test.go @@ -23,7 +23,7 @@ import ( var ( multinetVM = "e2e-test-vm-multinet" - sanboxImage = "weaveworks/ignite:dev" + sandboxImage = "weaveworks/ignite:dev" kernelImage = "weaveworks/ignite-kernel:5.10.51" vmImage = "weaveworks/ignite-ubuntu" ) @@ -44,9 +44,9 @@ func startAsyncVM(t *testing.T, intfs []string) (*operations.VMChannels, string) vm.Status.Runtime.Name = runtime.RuntimeDocker vm.Status.Network.Plugin = network.PluginDockerBridge - ociRef, err := meta.NewOCIImageRef(sanboxImage) + ociRef, err := meta.NewOCIImageRef(sandboxImage) if err != nil { - t.Fatalf("Failed to parse OCI image ref %s: %s", sanboxImage, err) + t.Fatalf("Failed to parse OCI image ref %s: %s", sandboxImage, err) } vm.Spec.Sandbox.OCI = ociRef diff --git a/pkg/constants/vm.go b/pkg/constants/vm.go index c5e6c1279..d1f0ad002 100644 --- a/pkg/constants/vm.go +++ b/pkg/constants/vm.go @@ -45,7 +45,7 @@ const ( IGNITE_INTERFACE_ANNOTATION = "ignite.weave.works/interface/" // IGNITE_SANDBOX_ENV_VAR is the annotation prefix to store a list of env variables - IGNITE_SANDBOX_ENV_VAR = "ignite.weave.works/sanbox-env/" + IGNITE_SANDBOX_ENV_VAR = "ignite.weave.works/sandbox-env/" // IGNITE_SPAWN_TIMEOUT determines how long to wait for spawn to start up IGNITE_SPAWN_TIMEOUT = 2 * time.Minute