gofmt
This commit is contained in:
@@ -16,7 +16,7 @@ func TestManageFdLimit(t *testing.T) {
|
||||
t.Errorf("Cannot manage file descriptors")
|
||||
}
|
||||
|
||||
if maxFds != uint64(16 << 10) {
|
||||
if maxFds != uint64(16<<10) {
|
||||
t.Errorf("Maximum file descriptors default value changed")
|
||||
}
|
||||
}
|
||||
@@ -81,4 +81,4 @@ func TestManageFdLimitWithEnvSet(t *testing.T) {
|
||||
if err = os.Unsetenv("IPFS_FD_MAX"); err != nil {
|
||||
t.Fatal("Cannot unset the IPFS_FD_MAX env variable")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
package ulimit
|
||||
|
||||
import (
|
||||
unix "golang.org/x/sys/unix"
|
||||
unix "golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
||||
Reference in New Issue
Block a user