Skip to content

Commit 01d1a95

Browse files
committed
lint
1 parent 839eae9 commit 01d1a95

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ testbin/*
2525

2626
dist/
2727
.vscode/
28+
.zed/
2829

2930
.DS_Store
3031

pomerium/envoy/validate_envoy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package envoy
66

77
import (
88
"context"
9-
"io/ioutil"
9+
1010
"os"
1111
"os/exec"
1212
"path/filepath"
@@ -34,7 +34,7 @@ func Validate(ctx context.Context, bootstrap *envoy_config_bootstrap_v3.Bootstra
3434
}
3535

3636
cfgName := filepath.Join(os.TempDir(), id+".pb")
37-
err = ioutil.WriteFile(cfgName, bs, ownerRW)
37+
err = os.WriteFile(cfgName, bs, ownerRW)
3838
if err != nil {
3939
return nil, err
4040
}

0 commit comments

Comments
 (0)