Conversation
|
Amazing, LGTM if janky's happy |
runconfig/hostconfig.go
Outdated
There was a problem hiding this comment.
I wouldn't say lxc here, unless I'm mistaken this is specifically about caps available to a user in a container, not really lxc specific.
There was a problem hiding this comment.
Oh you're right, typo here, will fix 😉
There was a problem hiding this comment.
Hum on this one the structure is LxcConfig, but yeah, the comment on the CapList were wrong, I've updated it.
|
Just a couple of nits regarding the mentioning specifically of lxc. in |
335f39b to
09067b2
Compare
runconfig/config.go
Outdated
There was a problem hiding this comment.
I think it worth to mention that this method is needed to implement json.Marshaller. And I think this is main usage of this method.
There was a problem hiding this comment.
s/Marshal (or serialize)/marshals (or serializes)/
60cbac5 to
eec56bb
Compare
|
@vdemeester there are some compiling errors |
|
@runcom oups.. forgot to add a change before commit/push.. |
778f4ad to
843fb03
Compare
There was a problem hiding this comment.
Wasn't sure about adding the json:… notation here, but as it is in the API and consumed/produced already by other external components, I though it would be best to make it so the json in the API doesn't change (to not break external tools).
runconfig/hostconfig.go
Outdated
There was a problem hiding this comment.
s/unmarshal (or deserialize)/unmarshals (or deserializes)/
|
@vdemeester minor comments. But per @tiborvass's irc comment, you need a period at the end of the sentences for the func comments. |
52bbfa5 to
6cf9c82
Compare
|
@duglin thx 😊. Updated it, I think I've added a period everywhere 😝. |
6cf9c82 to
0b0be08
Compare
|
@vdemeester Need rebase :) |
0b0be08 to
5f76e4d
Compare
|
@LK4D4 oh, already ? 😊 Done 😉 |
5f76e4d to
884c00a
Compare
884c00a to
0acd1c1
Compare
|
Rebased again and added godoc on |
0acd1c1 to
c7427cb
Compare
|
ah man needs rebase, then ping me ;) |
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
c7427cb to
5170a2c
Compare
|
@jfrazelle yep, |
|
LGTM |
|
yay 🎉 |
Had a 3 hours long train trip so I did a
golintrun on therunconfigpackage. Mostly documentation, even onConfigandHostConfig🐸.If it feels unecessary feel free to close the PR. 🐧
Signed-off-by: Vincent Demeester vincent@sbr.pm