Skip to content

Commit

Permalink
fix: undefined property in AccessLog filter when handle GRPC request (#…
Browse files Browse the repository at this point in the history
…512)

Signed-off-by: Lin Yang <[email protected]>
  • Loading branch information
reaver-flomesh committed Dec 11, 2024
1 parent 01887c7 commit 33bda23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified charts/fsm/components/scripts.tar.gz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export default function (config) {
`${response.head?.statusText || ''}`,
`"${headers['user-agent'] || ''}"`,
`${response.headTime - $ctx.headTime}ms`,
`${$ctx.tail.headSize + $ctx.tail.bodySize}`,
`${response.tail ? response.tail.headSize + response.tail.bodySize : 0}`,
`${$ctx.tail ? ($ctx.tail?.headSize || 0 + $ctx.tail?.bodySize || 0) : 0}`,
`${response.tail ? (response.tail?.headSize || 0 + response.tail?.bodySize || 0) : 0}`,
`"${$ctx.backendResource?.metadata?.name || ''}"`,
`"${target || ''}"`
)
Expand Down

0 comments on commit 33bda23

Please sign in to comment.