pkg: mount: golint

Fix the following warnings:

pkg/mount/mountinfo.go:5:6: type name will be used as mount.MountInfo by other packages, and that stutters; consider calling this Info
pkg/mount/mountinfo.go:7:2: struct field Id should be ID

Signed-off-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
Antonio Murdaca 2015-07-21 19:49:42 +02:00
parent 64ddf3420c
commit 056158ea4c
6 changed files with 17 additions and 17 deletions

View file

@ -457,8 +457,8 @@ func TestParseFedoraMountinfoFields(t *testing.T) {
if len(infos) != expectedLength {
t.Fatalf("Expected %d entries, got %d", expectedLength, len(infos))
}
mi := MountInfo{
Id: 15,
mi := Info{
ID: 15,
Parent: 35,
Major: 0,
Minor: 3,