From 25f12343beeead8f7a8c041194d2fee5866aa3e7 Mon Sep 17 00:00:00 2001 From: Mike Trinkala Date: Wed, 25 Feb 2015 10:30:19 -0800 Subject: [PATCH] Corrected the code to work as originally documented --- cmake/externals.cmake | 2 +- docs/source/sandbox/lua.rst | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cmake/externals.cmake b/cmake/externals.cmake index 43e63e9c7..946fd26d4 100644 --- a/cmake/externals.cmake +++ b/cmake/externals.cmake @@ -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} ) diff --git a/docs/source/sandbox/lua.rst b/docs/source/sandbox/lua.rst index 1cea325b7..5fd815692 100644 --- a/docs/source/sandbox/lua.rst +++ b/docs/source/sandbox/lua.rst @@ -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: