Skip to content

Commit 9649e44

Browse files
committed
Remove unneeded arg and use correct terminology
Signed-off-by: luke <luke.parkin@arm.com>
1 parent aad47da commit 9649e44

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

e2e/runtime_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,10 @@ func getContainerPid(bin repo.RuntimeBin, containerName string) (int, error) {
229229
}
230230

231231
func getContainerState(bin repo.RuntimeBin, containerName string) (specs.State, error) {
232-
return getContainerStateWithEnv(bin, containerName, nil)
232+
return getContainerStateWithEnv(bin, containerName)
233233
}
234234

235-
func getContainerStateWithEnv(bin repo.RuntimeBin, containerName string, extraEnv []string) (specs.State, error) {
235+
func getContainerStateWithEnv(bin repo.RuntimeBin, containerName string) (specs.State, error) {
236236
var state specs.State
237237
out, err := invokeRuntime(bin, "state", containerName)
238238
if err != nil {

internal/proxy/proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func effectiveNamespaceFlags(spec *specs.Spec) (uintptr, error) {
5050

5151
if getEUID() != 0 {
5252
if flags != 0 {
53-
fmt.Fprintln(os.Stderr, "[WARN] running without root; namespace isolation disabled")
53+
fmt.Fprintln(os.Stderr, "[WARN] running non-root; namespace isolation disabled")
5454
}
5555
return 0, nil
5656
}

0 commit comments

Comments
 (0)