Skip to content

Commit 2596f33

Browse files
author
Ashley Sykes
committed
Remove call to unitName
- Calling unitName incorrectly appends -slice onto the end of the slice cgroup we are looking for - Tested and can'r see any obvious side effects by removing this call Signed-off-by: Ashley Sykes [email protected]
1 parent 2e2922e commit 2596f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func Slice(slice, name string) Path {
5454
slice = defaultSlice
5555
}
5656
return func(subsystem Name) (string, error) {
57-
return filepath.Join(slice, unitName(name)), nil
57+
return filepath.Join(slice, name), nil
5858
}
5959
}
6060

0 commit comments

Comments
 (0)