Skip to content

Commit

Permalink
fix linting failure in test case file
Browse files Browse the repository at this point in the history
  • Loading branch information
preetapan committed Jul 8, 2019
1 parent 47bdbf9 commit 0eae387
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions client/allocdir/input/test.go
Original file line number Diff line number Diff line change
@@ -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")
}

0 comments on commit 0eae387

Please sign in to comment.