Skip to content

pkg: mount: golint#14817

Merged
cpuguy83 merged 1 commit intomoby:masterfrom
runcom:golint-pkg-mount
Jul 22, 2015
Merged

pkg: mount: golint#14817
cpuguy83 merged 1 commit intomoby:masterfrom
runcom:golint-pkg-mount

Conversation

@runcom
Copy link
Member

@runcom runcom commented Jul 21, 2015

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

I can rename pkg/mount/mountinfo* to just pkg/mouont/info* if someone prefer

Signed-off-by: Antonio Murdaca runcom@linux.com

@stevvooe
Copy link
Contributor

LGTM

@runcom Great example of non-tautological comments!

@jessfraz
Copy link
Contributor

needs rebase :(

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>
@runcom runcom force-pushed the golint-pkg-mount branch from 7e8806f to 0f5c9d3 Compare July 22, 2015 08:26
@runcom
Copy link
Member Author

runcom commented Jul 22, 2015

@jfrazelle rebased

@cpuguy83
Copy link
Member

LGTM

cpuguy83 added a commit that referenced this pull request Jul 22, 2015
@cpuguy83 cpuguy83 merged commit f0d0a52 into moby:master Jul 22, 2015
@runcom runcom deleted the golint-pkg-mount branch July 23, 2015 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants