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
81ec641f
Commit
81ec641f
authored
Sep 21, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14257 from feihujiang/removeCodeAboutMinionAgain
Auto commit by PR queue bot
parents
b07b9918
c9917292
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
register.go
pkg/api/register.go
+0
-4
register.go
pkg/api/v1/register.go
+0
-4
No files found.
pkg/api/register.go
View file @
81ec641f
...
...
@@ -74,10 +74,6 @@ func init() {
// Register Unversioned types
Scheme
.
AddKnownTypes
(
""
,
&
unversioned
.
Status
{})
// Legacy names are supported
Scheme
.
AddKnownTypeWithName
(
""
,
"Minion"
,
&
Node
{})
Scheme
.
AddKnownTypeWithName
(
""
,
"MinionList"
,
&
NodeList
{})
}
func
(
*
Pod
)
IsAnAPIObject
()
{}
...
...
pkg/api/v1/register.go
View file @
81ec641f
...
...
@@ -89,10 +89,6 @@ func addKnownTypes() {
// Add common types
api
.
Scheme
.
AddKnownTypes
(
"v1"
,
&
unversioned
.
Status
{})
// Legacy names are supported
api
.
Scheme
.
AddKnownTypeWithName
(
"v1"
,
"Minion"
,
&
Node
{})
api
.
Scheme
.
AddKnownTypeWithName
(
"v1"
,
"MinionList"
,
&
NodeList
{})
}
func
(
*
Pod
)
IsAnAPIObject
()
{}
...
...
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