-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix golint error #606
Fix golint error #606
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need an issue to describe. Is https://github.com/PaddlePaddle/cloud/blob/develop/.travis.yml#L13 this line cause that lint error can still pass on CI?
ResourceStateFailed = "failed" | ||
ResourceStateSucceeded = "succeeded" | ||
// ResourceStateNone is the none name of ResourceState. | ||
ResourceStateNone ResourceState = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ResourceStateNone is the initial state of training job
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
// ResourceStateNone is the none name of ResourceState. | ||
ResourceStateNone ResourceState = "" | ||
// ResourceStateStarting is the starting name of ResourceState. | ||
ResourceStateStarting = "starting" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ResourceStateStarting is the starting state of training job
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
// ResourceStateStarting is the starting name of ResourceState. | ||
ResourceStateStarting = "starting" | ||
// ResourceStateRunning is the running name of ResourceState. | ||
ResourceStateRunning = "running" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ResourceStateStarting is the running state of training job
// ResourceStateRunning is the running name of ResourceState. | ||
ResourceStateRunning = "running" | ||
// ResourceStateFailed is the failed name of ResourceState. | ||
ResourceStateFailed = "failed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ResourceStateFailed is the failed state of training job
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
// ResourceStateFailed is the failed name of ResourceState. | ||
ResourceStateFailed = "failed" | ||
// ResourceStateSucceeded is the succeeded name of ResourceState | ||
ResourceStateSucceeded = "succeeded" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ResourceStateSucceeded is the succeeded state of training job
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
@typhoonzero I create an ISSUE and fix it yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Fix #609