Skip to content

Commit

Permalink
Fix appsec format
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Weinand <[email protected]>
  • Loading branch information
bwoebi committed Nov 18, 2024
1 parent 4b7fc68 commit 9af5a20
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions appsec/src/extension/configuration.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,11 @@ static void _register_testing_objects(void);

bool dd_config_minit(int module_number)
{
// We have to disable remote config by default on lambda due to issues with the sidecar there. We'll eventually fix it though.
// We have to disable remote config by default on lambda due to issues with
// the sidecar there. We'll eventually fix it though.
if (getenv("AWS_LAMBDA_FUNCTION_NAME")) {
config_entries[DDAPPSEC_CONFIG_DD_REMOTE_CONFIG_ENABLED].default_encoded_value = (zai_str) ZAI_STR_FROM_CSTR("false");
config_entries[DDAPPSEC_CONFIG_DD_REMOTE_CONFIG_ENABLED]
.default_encoded_value = (zai_str)ZAI_STR_FROM_CSTR("false");
}

if (!zai_config_minit(config_entries,
Expand Down

0 comments on commit 9af5a20

Please sign in to comment.