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
cbab51c1
Commit
cbab51c1
authored
Jan 10, 2018
by
tianshapjq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless variables in deviceplugin/types.go
parent
e85943f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
types.go
pkg/kubelet/cm/devicemanager/types.go
+1
-9
No files found.
pkg/kubelet/cm/devicemanager/types.go
View file @
cbab51c1
...
@@ -79,22 +79,14 @@ const (
...
@@ -79,22 +79,14 @@ const (
errFailedToDialDevicePlugin
=
"failed to dial device plugin:"
errFailedToDialDevicePlugin
=
"failed to dial device plugin:"
// errUnsupportedVersion is the error raised when the device plugin uses an API version not
// errUnsupportedVersion is the error raised when the device plugin uses an API version not
// supported by the Kubelet registry
// supported by the Kubelet registry
errUnsupportedVersion
=
"requested API version %q is not supported by kubelet. Supported versions are %q"
errUnsupportedVersion
=
"requested API version %q is not supported by kubelet. Supported version is %q"
// errDevicePluginAlreadyExists is the error raised when a device plugin with the
// same Resource Name tries to register itself
errDevicePluginAlreadyExists
=
"another device plugin already registered this Resource Name"
// errInvalidResourceName is the error raised when a device plugin is registering
// errInvalidResourceName is the error raised when a device plugin is registering
// itself with an invalid ResourceName
// itself with an invalid ResourceName
errInvalidResourceName
=
"the ResourceName %q is invalid"
errInvalidResourceName
=
"the ResourceName %q is invalid"
// errEmptyResourceName is the error raised when the resource name field is empty
errEmptyResourceName
=
"invalid Empty ResourceName"
// errEndpointStopped indicates that the endpoint has been stopped
// errEndpointStopped indicates that the endpoint has been stopped
errEndpointStopped
=
"endpoint %v has been stopped"
errEndpointStopped
=
"endpoint %v has been stopped"
// errBadSocket is the error raised when the registry socket path is not absolute
// errBadSocket is the error raised when the registry socket path is not absolute
errBadSocket
=
"bad socketPath, must be an absolute path:"
errBadSocket
=
"bad socketPath, must be an absolute path:"
// errRemoveSocket is the error raised when the registry could not remove the existing socket
errRemoveSocket
=
"failed to remove socket while starting device plugin registry, with error"
// errListenSocket is the error raised when the registry could not listen on the socket
// errListenSocket is the error raised when the registry could not listen on the socket
errListenSocket
=
"failed to listen to socket while starting device plugin registry, with error"
errListenSocket
=
"failed to listen to socket while starting device plugin registry, with error"
// errListAndWatch is the error raised when ListAndWatch ended unsuccessfully
// errListAndWatch is the error raised when ListAndWatch ended unsuccessfully
...
...
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