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
a2aa3621
Commit
a2aa3621
authored
Sep 22, 2017
by
Marcelo Grebois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Checking GlusterFS error output
https://github.com/kubernetes/kubernetes/issues/50463
parent
108ee220
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
glusterfs.go
pkg/volume/glusterfs/glusterfs.go
+2
-2
No files found.
pkg/volume/glusterfs/glusterfs.go
View file @
a2aa3621
...
@@ -346,8 +346,8 @@ func (b *glusterfsMounter) setUpAtInternal(dir string) error {
...
@@ -346,8 +346,8 @@ func (b *glusterfsMounter) setUpAtInternal(dir string) error {
return
nil
return
nil
}
}
const
invalidOption
=
"Invalid option auto_unmount"
if
dstrings
.
Contains
(
errs
.
Error
(),
"Invalid option auto_unmount"
)
||
if
dstrings
.
Contains
(
errs
.
Error
(),
invalidOption
)
{
dstrings
.
Contains
(
errs
.
Error
(),
"Invalid argument"
)
{
// Give a try without `auto_unmount` mount option, because
// Give a try without `auto_unmount` mount option, because
// it could be that gluster fuse client is older version and
// it could be that gluster fuse client is older version and
// mount.glusterfs is unaware of `auto_unmount`.
// mount.glusterfs is unaware of `auto_unmount`.
...
...
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