Skip to content

Commit

Permalink
client: return early in case of error
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 committed Aug 18, 2023
1 parent 48a5407 commit c14d770
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/fs_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func (f *FileSystem) stream(conn io.ReadWriteCloser) {
pointer.Of(int64(http.StatusNotFound)),
encoder,
)
return
}
alloc := ar.Alloc()

Expand Down Expand Up @@ -373,6 +374,7 @@ func (f *FileSystem) logs(conn io.ReadWriteCloser) {
pointer.Of(int64(http.StatusNotFound)),
encoder,
)
return
}
alloc := ar.Alloc()

Expand Down

0 comments on commit c14d770

Please sign in to comment.