From 0eae387a96d6482cece2a8aa51f4aa8d8616549a Mon Sep 17 00:00:00 2001 From: Preetha Appan Date: Mon, 8 Jul 2019 11:29:12 -0500 Subject: [PATCH] fix linting failure in test case file --- client/allocdir/input/test.go | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/client/allocdir/input/test.go b/client/allocdir/input/test.go index fe29791c4..91e7378c4 100644 --- a/client/allocdir/input/test.go +++ b/client/allocdir/input/test.go @@ -1,26 +1,7 @@ -package allocdir +package main -import ( - "os" - "syscall" -) +import "fmt" -// linkDir hardlinks src to dst. The src and dst must be on the same filesystem. -func linkDir(src, dst string) error { - return syscall.Link(src, dst) -} - -// unlinkDir removes a directory link. -func unlinkDir(dir string) error { - return syscall.Unlink(dir) -} - -// createSecretDir creates the secrets dir folder at the given path -func createSecretDir(dir string) error { - return os.MkdirAll(dir, 0777) -} - -// removeSecretDir removes the secrets dir folder -func removeSecretDir(dir string) error { - return os.RemoveAll(dir) +func main() { + fmt.Println("Hello World") }