Skip to content

Commit 0eae387

Browse files
author
Preetha Appan
committed
fix linting failure in test case file
1 parent 47bdbf9 commit 0eae387

File tree

1 file changed

+4
-23
lines changed

1 file changed

+4
-23
lines changed

client/allocdir/input/test.go

+4-23
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,7 @@
1-
package allocdir
1+
package main
22

3-
import (
4-
"os"
5-
"syscall"
6-
)
3+
import "fmt"
74

8-
// linkDir hardlinks src to dst. The src and dst must be on the same filesystem.
9-
func linkDir(src, dst string) error {
10-
return syscall.Link(src, dst)
11-
}
12-
13-
// unlinkDir removes a directory link.
14-
func unlinkDir(dir string) error {
15-
return syscall.Unlink(dir)
16-
}
17-
18-
// createSecretDir creates the secrets dir folder at the given path
19-
func createSecretDir(dir string) error {
20-
return os.MkdirAll(dir, 0777)
21-
}
22-
23-
// removeSecretDir removes the secrets dir folder
24-
func removeSecretDir(dir string) error {
25-
return os.RemoveAll(dir)
5+
func main() {
6+
fmt.Println("Hello World")
267
}

0 commit comments

Comments
 (0)