]> Cypherpunks.ru repositories - gostls13.git/commit
os: fix PathError.Op for dirFS.Open
authorJoe Tsai <joetsai@digital-static.net>
Wed, 1 Nov 2023 20:12:43 +0000 (13:12 -0700)
committerJoseph Tsai <joetsai@digital-static.net>
Wed, 1 Nov 2023 23:58:46 +0000 (23:58 +0000)
commit08b2f1f761a57b6c547eb5c53109237fe0a17b81
treebd977c96a6dc045754552806fc11dc630b880739
parent23711f8ef73b4dabd76b5339addaac2e176e63fb
os: fix PathError.Op for dirFS.Open

This appears to be a copy-paste error from CL 455362.

The operation name used to be "open"
but seems to have been accidentally changed to "stat".
This CL reverts back to "open".

Change-Id: I3fc5168095e2d9eee3efa3cc091b10bcf4e3ecde
Reviewed-on: https://go-review.googlesource.com/c/go/+/539056
Run-TryBot: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Joseph Tsai <joetsai@digital-static.net>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/os/file.go