forked from Ivasoft/traefik
chore: update linter.
This commit is contained in:
committed by
GitHub
parent
d698eba1e7
commit
a20e90aa17
@@ -292,7 +292,7 @@ func createTempDir(t *testing.T, dir string) string {
|
||||
}
|
||||
|
||||
func copyFile(srcPath, dstPath string) error {
|
||||
dst, err := os.OpenFile(dstPath, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0666)
|
||||
dst, err := os.OpenFile(dstPath, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0o666)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user