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
4331660f
Unverified
Commit
4331660f
authored
Feb 01, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Feb 01, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #73445 from danielqsj/fix-exec
migrate the rest reference of pkg/util/exec to k8s.io/utils/exec
parents
8e05f090
c7a012f0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
runtime.go
pkg/kubelet/container/runtime.go
+1
-1
mount.go
pkg/util/mount/mount.go
+1
-1
test_owners.csv
test/test_owners.csv
+0
-1
No files found.
pkg/kubelet/container/runtime.go
View file @
4331660f
...
...
@@ -155,7 +155,7 @@ type ContainerAttacher interface {
type
ContainerCommandRunner
interface
{
// RunInContainer synchronously executes the command in the container, and returns the output.
// If the command completes with a non-0 exit code, a
pkg/util
/exec.ExitError will be returned.
// If the command completes with a non-0 exit code, a
k8s.io/utils
/exec.ExitError will be returned.
RunInContainer
(
id
ContainerID
,
cmd
[]
string
,
timeout
time
.
Duration
)
([]
byte
,
error
)
}
...
...
pkg/util/mount/mount.go
View file @
4331660f
...
...
@@ -143,7 +143,7 @@ type Subpath struct {
// Exec executes command where mount utilities are. This can be either the host,
// container where kubelet runs or even a remote pod with mount utilities.
// Usual
pkg/util
/exec interface is not used because kubelet.RunInContainer does
// Usual
k8s.io/utils
/exec interface is not used because kubelet.RunInContainer does
// not provide stdin/stdout/stderr streams.
type
Exec
interface
{
// Run executes a command and returns its stdout + stderr combined in one
...
...
test/test_owners.csv
View file @
4331660f
...
...
@@ -787,7 +787,6 @@ k8s.io/kubernetes/pkg/util/config,jszczepkowski,1,
k8s.io/kubernetes/pkg/util/configz,ixdy,1,
k8s.io/kubernetes/pkg/util/dbus,roberthbailey,1,
k8s.io/kubernetes/pkg/util/env,asalkeld,0,
k8s.io/kubernetes/pkg/util/exec,krousey,1,
k8s.io/kubernetes/pkg/util/goroutinemap,saad-ali,0,
k8s.io/kubernetes/pkg/util/hash,timothysc,1,
k8s.io/kubernetes/pkg/util/i18n,brendandburns,0,
...
...
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