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
61478c04
Commit
61478c04
authored
Apr 19, 2019
by
SataQiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix golint failures of pkg/apis/batch
parent
fc545587
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 @
61478c04
...
...
@@ -22,7 +22,6 @@ pkg/apis/autoscaling/v1
pkg/apis/autoscaling/v2beta1
pkg/apis/autoscaling/v2beta2
pkg/apis/autoscaling/validation
pkg/apis/batch
pkg/apis/batch/v1
pkg/apis/batch/v1beta1
pkg/apis/batch/v2alpha1
...
...
pkg/apis/batch/register.go
View file @
61478c04
...
...
@@ -38,8 +38,10 @@ func Resource(resource string) schema.GroupResource {
}
var
(
// SchemeBuilder points to a list of functions added to Scheme.
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.
...
...
pkg/apis/batch/types.go
View file @
61478c04
...
...
@@ -184,6 +184,7 @@ type JobStatus struct {
Failed
int32
}
// JobConditionType is a valid value for JobCondition.Type
type
JobConditionType
string
// 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