mirror of https://github.com/ceph/go-ceph
cephfs: fix linting errors found in cephfs_test.go
Now that cephfs_test.go is part of the cephfs package, the linter is checking it and finding errors. Fix them. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
d4b6798928
commit
4589af9dfd
|
@ -11,7 +11,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
CephMountTest string = "/tmp/ceph/mds/mnt/"
|
CephMountTest = "/tmp/ceph/mds/mnt/"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestCreateMount(t *testing.T) {
|
func TestCreateMount(t *testing.T) {
|
||||||
|
@ -170,7 +170,7 @@ func TestChown(t *testing.T) {
|
||||||
dirname := "three"
|
dirname := "three"
|
||||||
// dockerfile creates bob user account
|
// dockerfile creates bob user account
|
||||||
var bob uint32 = 1010
|
var bob uint32 = 1010
|
||||||
var root uint32 = 0
|
var root uint32
|
||||||
|
|
||||||
mount, err := CreateMount()
|
mount, err := CreateMount()
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
|
|
Loading…
Reference in New Issue