[#380] node: go version up
All checks were successful
ci/woodpecker/push/pre-commit Pipeline was successful

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-05-19 16:46:01 +03:00 committed by Evgenii Stratonikov
parent e3ad3c2965
commit 731bf5d0ee
10 changed files with 10 additions and 10 deletions

View file

@ -4,7 +4,6 @@ import (
"encoding/json"
"flag"
"fmt"
"io/ioutil"
"os"
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/metrics"
@ -49,7 +48,7 @@ func main() {
os.Exit(1)
}
if err := ioutil.WriteFile(filename, data, 0644); err != nil {
if err := os.WriteFile(filename, data, 0644); err != nil {
fmt.Fprintf(os.Stderr, "Could write to file: %v\n", err)
os.Exit(1)
}