Created
May 26, 2015 21:16
-
-
Save nerdalert/35e03a8c7dd2446515bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sandbox/sandbox_unsupported.go b/sandbox/sandbox_unsupported.go | |
index 55790c1..4a55f46 100644 | |
--- a/sandbox/sandbox_unsupported.go | |
+++ b/sandbox/sandbox_unsupported.go | |
@@ -5,23 +5,22 @@ package sandbox | |
import "errors" | |
var ( | |
- ErrNotImplemented = errors.New("not implemented") | |
+ ErrNotImplemented = errors.New("not implemented") | |
) | |
// NewSandbox provides a new sandbox instance created in an os specific way | |
// provided a key which uniquely identifies the sandbox | |
func NewSandbox(key string, osCreate bool) (Sandbox, error) { | |
- return nil, ErrNotImplemented | |
+ return nil, ErrNotImplemented | |
} | |
// GenerateKey generates a sandbox key based on the passed | |
// container id. | |
func GenerateKey(containerID string) string { | |
- maxLen := 12 | |
- if len(containerID) < maxLen { | |
- maxLen = len(containerID) | |
- } | |
+ maxLen := 12 | |
+ if len(containerID) < maxLen { | |
+ maxLen = len(containerID) | |
+ } | |
- return containerID[:maxLen] | |
+ return containerID[:maxLen] | |
} | |
- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment