mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
build: run gofmt on all go source files
Go 1.19 will forecefully format all your doc strings. To get this out of the way, here is one big commit with all the changes gofmt wants to make.
This commit is contained in:
@@ -82,8 +82,9 @@ func TestAllocDir_BuildAlloc(t *testing.T) {
|
||||
}
|
||||
|
||||
// HACK: This function is copy/pasted from client.testutil to prevent a test
|
||||
// import cycle, due to testutil transitively importing allocdir. This
|
||||
// should be fixed after DriverManager is implemented.
|
||||
//
|
||||
// import cycle, due to testutil transitively importing allocdir. This
|
||||
// should be fixed after DriverManager is implemented.
|
||||
func MountCompatible(t *testing.T) {
|
||||
if runtime.GOOS == "windows" {
|
||||
t.Skip("Windows does not support mount")
|
||||
|
||||
Reference in New Issue
Block a user