Fix golint warnings for daemon/execdriver/*#14848
Conversation
0b4b7c8 to
78b758d
Compare
daemon/execdriver/driver.go
Outdated
There was a problem hiding this comment.
Needs more info, i.e. what/where is this callback used?
|
All in all I think most of the doc strings could use some more detail as things like "Foo stores information about foos" isn't all that helpful. |
|
I agree with @cpuguy83 |
78b758d to
37c7119
Compare
daemon/execdriver/lxc/driver.go
Outdated
37c7119 to
e2616ff
Compare
There was a problem hiding this comment.
Same thing as below regarding caps
|
@hqhq Great work on this! This is a fantastic start. I did notice we have slightly different doc strings between native/lxc on stuff that should basically be the same as they are just implementing some interface. |
e2616ff to
654fa02
Compare
|
@cpuguy83 Updated, now all common docs are in interface, it's easier to maintain, what do you think now? |
|
LGTM |
daemon/execdriver/driver.go
Outdated
|
@hqhq Could you rebase it so you can add the |
654fa02 to
6b44c35
Compare
|
@vdemeester Thanks, updated. |
|
ah, |
6b44c35 to
dd61f36
Compare
|
Fixed, should'v used |
|
needs rebase sorry |
Addresses: moby#14756 Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
dd61f36 to
4862d72
Compare
|
@jfrazelle done. |
|
LGTM |
|
@hqhq Thanks! |
Fix golint warnings for daemon/execdriver/*
There was a problem hiding this comment.
@tiborvass Yeah, I didn't use golint xxx/*.go just goling xxx/ so codes for windows are missed when I sent the PR, windows part is in another PR #15114, PTAL, thanks.

Addresses: #14756
Signed-off-by: Qiang Huang h.huangqiang@huawei.com