diff options
Diffstat (limited to 'commands')
-rw-r--r-- | commands/server.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/server.go b/commands/server.go index c878cac2f..048b13ba3 100644 --- a/commands/server.go +++ b/commands/server.go @@ -20,7 +20,6 @@ import ( "errors" "fmt" "io" - "io/ioutil" "net" "net/http" "net/url" @@ -848,7 +847,7 @@ func (c *serverCommand) serve() error { if err != nil { return err } - err = ioutil.WriteFile(readyFile, b, 0777) + err = os.WriteFile(readyFile, b, 0777) if err != nil { return err } |