Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
3488cd34
Unverified
Commit
3488cd34
authored
Apr 22, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Apr 22, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #76804 from SataQiu/fix-apis-golint-20190419
Fix golint failures of pkg/apis/batch
parents
f0a4672e
61478c04
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
.golint_failures
hack/.golint_failures
+0
-1
register.go
pkg/apis/batch/register.go
+3
-1
types.go
pkg/apis/batch/types.go
+1
-0
No files found.
hack/.golint_failures
View file @
3488cd34
...
@@ -22,7 +22,6 @@ pkg/apis/autoscaling/v1
...
@@ -22,7 +22,6 @@ pkg/apis/autoscaling/v1
pkg/apis/autoscaling/v2beta1
pkg/apis/autoscaling/v2beta1
pkg/apis/autoscaling/v2beta2
pkg/apis/autoscaling/v2beta2
pkg/apis/autoscaling/validation
pkg/apis/autoscaling/validation
pkg/apis/batch
pkg/apis/batch/v1
pkg/apis/batch/v1
pkg/apis/batch/v1beta1
pkg/apis/batch/v1beta1
pkg/apis/batch/v2alpha1
pkg/apis/batch/v2alpha1
...
...
pkg/apis/batch/register.go
View file @
3488cd34
...
@@ -38,8 +38,10 @@ func Resource(resource string) schema.GroupResource {
...
@@ -38,8 +38,10 @@ func Resource(resource string) schema.GroupResource {
}
}
var
(
var
(
// SchemeBuilder points to a list of functions added to Scheme.
SchemeBuilder
=
runtime
.
NewSchemeBuilder
(
addKnownTypes
)
SchemeBuilder
=
runtime
.
NewSchemeBuilder
(
addKnownTypes
)
AddToScheme
=
SchemeBuilder
.
AddToScheme
// AddToScheme applies all the stored functions to the scheme.
AddToScheme
=
SchemeBuilder
.
AddToScheme
)
)
// Adds the list of known types to the given scheme.
// Adds the list of known types to the given scheme.
...
...
pkg/apis/batch/types.go
View file @
3488cd34
...
@@ -184,6 +184,7 @@ type JobStatus struct {
...
@@ -184,6 +184,7 @@ type JobStatus struct {
Failed
int32
Failed
int32
}
}
// JobConditionType is a valid value for JobCondition.Type
type
JobConditionType
string
type
JobConditionType
string
// These are valid conditions of a job.
// These are valid conditions of a job.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment