Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #929 from Giles2000/gcf_dev
Browse files Browse the repository at this point in the history
Fix typo in `ignite.weave.works/sandbox-env/*` annotations
  • Loading branch information
stealthybox authored Jul 18, 2022
2 parents c4162ac + 752d4a5 commit 84f4c84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions e2e/multinet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pkg/constants/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84f4c84

Please sign in to comment.