Skip to content

image fix lint errors/warnings#14786

Merged
LK4D4 merged 1 commit intomoby:masterfrom
brahmaroutu:lint_image
Jul 27, 2015
Merged

image fix lint errors/warnings#14786
LK4D4 merged 1 commit intomoby:masterfrom
brahmaroutu:lint_image

Conversation

@brahmaroutu
Copy link
Contributor

Addresses #14756
Signed-off-by: Srini Brahmaroutu srbrahma@us.ibm.com

@GordonTheTurtle GordonTheTurtle added the dco/no Automatically set by a bot when one of the commits lacks proper signature label Jul 21, 2015
image/image.go Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Images stores the image configuration

@cpuguy83
Copy link
Member

LGTM

@runcom
Copy link
Member

runcom commented Jul 21, 2015

@brahmaroutu seems like you're committing as root and it's not signed could you check pls?

LGTM though

image/image.go Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, please document the usage of the type. The goal is not to have golint pass but to create viable documentation.

@brahmaroutu brahmaroutu force-pushed the lint_image branch 2 times, most recently from 0c2aa21 to ec83c21 Compare July 22, 2015 04:57
@GordonTheTurtle GordonTheTurtle removed the dco/no Automatically set by a bot when one of the commits lacks proper signature label Jul 22, 2015
image/image.go Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the field be here or inline (in the struct Image).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved the comments into the structure. The doc will be slightly different, comments will be printed with the struct and then the comment about struct.

@vdemeester
Copy link
Member

@brahmaroutu could you add a period at the end of the doc sentences ? :blush:

@vdemeester
Copy link
Member

@brahmaroutu could you also add the package image to ./hack/make/validate-lint.

Addresses moby#14756
Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
@LK4D4
Copy link
Contributor

LK4D4 commented Jul 27, 2015

Cool, LGTM

LK4D4 added a commit that referenced this pull request Jul 27, 2015
@LK4D4 LK4D4 merged commit ae5c8e3 into moby:master Jul 27, 2015
@brahmaroutu brahmaroutu deleted the lint_image branch August 12, 2015 18:36
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.

7 participants