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
190a513c
Commit
190a513c
authored
Nov 06, 2016
by
Lucas Käldström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the crossbuild that #35132 broke
parent
eeb5ef27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
fs_unsupported.go
pkg/volume/util/fs_unsupported.go
+7
-4
No files found.
pkg/volume/util/fs_unsupported.go
View file @
190a513c
...
@@ -19,17 +19,20 @@ limitations under the License.
...
@@ -19,17 +19,20 @@ limitations under the License.
package
util
package
util
import
(
import
(
"errors"
"fmt"
"fmt"
"k8s.io/kubernetes/pkg/api/resource"
"k8s.io/kubernetes/pkg/api/resource"
)
)
// FSInfo unsupported returns 0 values for available and capacity and an error.
// FSInfo unsupported returns 0 values for available and capacity and an error.
func
FsInfo
(
path
string
)
(
int64
,
int64
,
int64
,
error
)
{
func
FsInfo
(
path
string
)
(
int64
,
int64
,
int64
,
int64
,
int64
,
int64
,
error
)
{
return
0
,
0
,
0
,
errors
.
New
(
"FsInfo not supported for this build."
)
return
0
,
0
,
0
,
0
,
0
,
0
,
fmt
.
Errorf
(
"FsInfo not supported for this build."
)
}
}
func
Du
(
path
string
)
(
*
resource
.
Quantity
,
error
)
{
func
Du
(
path
string
)
(
*
resource
.
Quantity
,
error
)
{
return
nil
,
fmt
.
Errorf
(
"Du not support for this build."
)
return
nil
,
fmt
.
Errorf
(
"Du not supported for this build."
)
}
func
Find
(
path
string
)
(
int64
,
error
)
{
return
0
,
fmt
.
Errorf
(
"Find not supported for this build."
)
}
}
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