Skip to content

Commit 880e3ac

Browse files
committed
chore: fix gofmt test failure
The build failed with following message. Run test -z "$(gofmt -l ./ | tee /dev/stderr)" doc.go Error: Process completed with exit code 1.F Signed-off-by: Sami Kerola <kerolasa@cloudflare.com>
1 parent 11045d1 commit 880e3ac

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

doc.go

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@
1313
// To use this library with systemd you need to use the PIDFile option in the service
1414
// file.
1515
//
16-
// [Unit]
17-
// Description=Service using tableflip
16+
// [Unit]
17+
// Description=Service using tableflip
1818
//
19-
// [Service]
20-
// ExecStart=/path/to/binary -some-flag /path/to/pid-file
21-
// ExecReload=/bin/kill -HUP $MAINPID
22-
// PIDFile=/path/to/pid-file
19+
// [Service]
20+
// ExecStart=/path/to/binary -some-flag /path/to/pid-file
21+
// ExecReload=/bin/kill -HUP $MAINPID
22+
// PIDFile=/path/to/pid-file
2323
//
2424
// Then pass /path/to/pid-file to New. You can use systemd-run to
2525
// test your implementation:
2626
//
27-
// systemd-run --user -p PIDFile=/path/to/pid-file /path/to/binary
27+
// systemd-run --user -p PIDFile=/path/to/pid-file /path/to/binary
2828
//
2929
// systemd-run will print a unit name, which you can use with systemctl to
3030
// inspect the service.
@@ -44,5 +44,4 @@
4444
// which may be necessary in certain development circumstances, but it will not
4545
// provide zero downtime upgrades when running on Windows. See the `testing`
4646
// package for an example of how to use it.
47-
//
4847
package tableflip

0 commit comments

Comments
 (0)