aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold/example.go
diff options
context:
space:
mode:
authorHenco Appel <hencoappel+github@gmail.com>2024-04-02 16:31:40 +0100
committerGitHub <noreply@github.com>2024-04-02 08:31:40 -0700
commit2a88da4de757630a7d35779867f24c66c71ae7a9 (patch)
tree2171171b9581b55495bfcafcbdb7497cca11ab0e /weed/command/scaffold/example.go
parentdf9031e19a96a97f12613d7b4c90eb19b265d311 (diff)
downloadseaweedfs-2a88da4de757630a7d35779867f24c66c71ae7a9.tar.xz
seaweedfs-2a88da4de757630a7d35779867f24c66c71ae7a9.zip
fix: always close volume file (#4530) (#5459)
If sync fails then close is never called. We should always be calling close on the file. Co-authored-by: Hendrik Appel <happel@europe.altair.com>
Diffstat (limited to 'weed/command/scaffold/example.go')
0 files changed, 0 insertions, 0 deletions