Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1366 from mozilla-services/decode_message_docs
Browse files Browse the repository at this point in the history
Corrected the code to work as originally documented
  • Loading branch information
rafrombrc committed Feb 25, 2015
2 parents 9475afe + 25f1234 commit ef48a8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/externals.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if(INCLUDE_SANDBOX)
externalproject_add(
${SANDBOX_PACKAGE}
GIT_REPOSITORY https://github.com/mozilla-services/lua_sandbox.git
GIT_TAG 272955d7258d4bb833352383f8871bd0bce9c381
GIT_TAG 5a594412c51d9c24b7e3c6cacd6f125fb51e343f
CMAKE_ARGS ${SANDBOX_ARGS}
INSTALL_DIR ${PROJECT_PATH}
)
Expand Down
3 changes: 1 addition & 2 deletions docs/source/sandbox/lua.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,12 @@ Heka specific functions that are exposed to the Lua sandbox
- heka_message (string) Lua variable containing a Heka protobuf encoded message

*Return*
- message (table or nil) The array based version of the message structure with
- message (table) The array based version of the message structure with
the value member always being an array (even if there is only a single
item). This format makes working with the output more consistent.
The wide variation in the inject table format is to ease the
construction of the message especially when using an LPeg grammar
transformation.
- err (string) The error message if the decode fails (i.e., message is nil).

.. _heka_message_table_structure:

Expand Down

0 comments on commit ef48a8c

Please sign in to comment.