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
cd48a674
Commit
cd48a674
authored
Jan 26, 2018
by
wackxu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mini fix about typo
parent
f02f438a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
attach_detach_controller.go
...ontroller/volume/attachdetach/attach_detach_controller.go
+1
-1
plugins.go
pkg/volume/plugins.go
+1
-1
No files found.
pkg/controller/volume/attachdetach/attach_detach_controller.go
View file @
cd48a674
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
*/
*/
// Package
volume
implements a controller to manage volume attach and detach
// Package
attachdetach
implements a controller to manage volume attach and detach
// operations.
// operations.
package
attachdetach
package
attachdetach
...
...
pkg/volume/plugins.go
View file @
cd48a674
...
@@ -654,7 +654,7 @@ func (pm *VolumePluginMgr) FindCreatablePluginBySpec(spec *Spec) (ProvisionableV
...
@@ -654,7 +654,7 @@ func (pm *VolumePluginMgr) FindCreatablePluginBySpec(spec *Spec) (ProvisionableV
return
nil
,
fmt
.
Errorf
(
"no creatable volume plugin matched"
)
return
nil
,
fmt
.
Errorf
(
"no creatable volume plugin matched"
)
}
}
// FindAttachablePluginBySpec fetches a persistent volume plugin by
name
.
// FindAttachablePluginBySpec fetches a persistent volume plugin by
spec
.
// Unlike the other "FindPlugin" methods, this does not return error if no
// Unlike the other "FindPlugin" methods, this does not return error if no
// plugin is found. All volumes require a mounter and unmounter, but not
// plugin is found. All volumes require a mounter and unmounter, but not
// every volume will have an attacher/detacher.
// every volume will have an attacher/detacher.
...
...
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