Skip to content

Commit

Permalink
Format sources using gofumpt 0.2.1
Browse files Browse the repository at this point in the history
... which adds a wee more whitespace fixes.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin committed Mar 7, 2022
1 parent ec9e81b commit 89733cd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
3 changes: 1 addition & 2 deletions libcontainer/cgroups/ebpf/devicefilter/devicefilter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ func TestDeviceFilter_Privileged(t *testing.T) {
Allow: true,
},
}
expected :=
`
expected := `
// load parameters into registers
0: LdXMemW dst: r2 src: r1 off: 0 imm: 0
1: And32Imm dst: r2 imm: 65535
Expand Down
4 changes: 0 additions & 4 deletions libcontainer/process_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,9 @@ type parentProcess interface {

// startTime returns the process start time.
startTime() (uint64, error)

signal(os.Signal) error

externalDescriptors() []string

setExternalDescriptors(fds []string)

forwardChildLogs() chan error
}

Expand Down
2 changes: 0 additions & 2 deletions update.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ other options are ignored.
opt string
dest *uint64
}{

{"cpu-period", r.CPU.Period},
{"cpu-rt-period", r.CPU.RealtimePeriod},
{"cpu-share", r.CPU.Shares},
Expand All @@ -211,7 +210,6 @@ other options are ignored.
opt string
dest *int64
}{

{"cpu-quota", r.CPU.Quota},
{"cpu-rt-runtime", r.CPU.RealtimeRuntime},
} {
Expand Down

0 comments on commit 89733cd

Please sign in to comment.