Skip to content

Commit 45ee340

Browse files
committed
AK-47707: Lint warning fixes
1 parent 354fb95 commit 45ee340

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/vpptesting/vpplauncher/vpplauncher.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import (
1818
"bytes"
1919
"errors"
2020
"fmt"
21-
"io/ioutil"
2221
"os"
2322
"os/exec"
2423
"strconv"
@@ -133,7 +132,7 @@ func (p *VPP) CheckRunning() bool {
133132
if _, err := os.Stat(p.opts.Pidfile); err != nil {
134133
return false
135134
}
136-
b, err := ioutil.ReadFile(p.opts.Pidfile)
135+
b, err := os.ReadFile(p.opts.Pidfile)
137136
if err != nil {
138137
return false
139138
}

0 commit comments

Comments
 (0)