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:
John Mulligan 2019-12-12 15:17:12 -05:00 committed by Niels de Vos
parent d4b6798928
commit 4589af9dfd
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import (
)
var (
CephMountTest string = "/tmp/ceph/mds/mnt/"
CephMountTest = "/tmp/ceph/mds/mnt/"
)
func TestCreateMount(t *testing.T) {
@ -170,7 +170,7 @@ func TestChown(t *testing.T) {
dirname := "three"
// dockerfile creates bob user account
var bob uint32 = 1010
var root uint32 = 0
var root uint32
mount, err := CreateMount()
assert.NoError(t, err)