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
a7c5582b
Commit
a7c5582b
authored
Nov 21, 2018
by
saad-ali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Permit use of deprecated dir in device plugin.
parent
aa8244be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
manager.go
pkg/kubelet/cm/devicemanager/manager.go
+0
-4
No files found.
pkg/kubelet/cm/devicemanager/manager.go
View file @
a7c5582b
...
...
@@ -249,10 +249,6 @@ func (m *ManagerImpl) GetWatcherHandler() watcher.PluginHandler {
func
(
m
*
ManagerImpl
)
ValidatePlugin
(
pluginName
string
,
endpoint
string
,
versions
[]
string
,
foundInDeprecatedDir
bool
)
error
{
klog
.
V
(
2
)
.
Infof
(
"Got Plugin %s at endpoint %s with versions %v"
,
pluginName
,
endpoint
,
versions
)
if
foundInDeprecatedDir
{
return
fmt
.
Errorf
(
"device plugin socket was found in a directory that is no longer supported"
)
}
if
!
m
.
isVersionCompatibleWithPlugin
(
versions
)
{
return
fmt
.
Errorf
(
"manager version, %s, is not among plugin supported versions %v"
,
pluginapi
.
Version
,
versions
)
}
...
...
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